C3DParameter supports uint16 directly, and refactor the code