How can I change the equipment by function?

CustomizeManager provides a function to change the equipment. Call the following function when you want to change the equipment.

nextMesh(MESH_TYPE meshType)

Changes the part specified by MESH_TYPE to next ID.

ex ) customizeManager.nextMesh (MESH_TYPE.UPPER_BODY);

prevMesh(MESH_TYPE meshType)

Changes the part specified by MESH_TYPE to prev ID.

setMesh(string name, MESH_TYPE meshType)

Changes the part specified by MESH_TYPE to the equipment specified by name.

“string name” is the material name of the equipment.

nextMaterial(MATERIAL_TYPE materialType)

Changes the part specified by MATERIAL_TYPE to next ID.

It is used for areas where the mesh does not change, such as the eyes and eyebrows.

ex ) customizeManager.nextMaterial (MATERIAL_TYPE.EYE);

prevMaterial(MATERIAL_TYPE materialType)

Changes the part specified by MATERIAL_TYPE to prev ID.

setMaterial(string name, MATERIAL_TYPE materialType)

Changes the part specified by MATERIAL_TYPE to the equipment specified by name.

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です