Class ObjModel.SubModelSettings
java.lang.Object
de.mrjulsen.mcdragonlib.neoforge.client.model.loaders.ObjModel.SubModelSettings
- Enclosing class:
ObjModel
Settings that describe how a sub-model should be positioned/rotated
relative to the parent model. Stored on ModelGroup/ModelObject/ModelMesh
instances that originate from sub-models.
-
Constructor Summary
ConstructorsConstructorDescriptionSubModelSettings(String model, float[] offset, float[] rotation, boolean centered, boolean inheritable) -
Method Summary
-
Constructor Details
-
SubModelSettings
public SubModelSettings() -
SubModelSettings
public SubModelSettings(String model, float[] offset, float[] rotation, boolean centered, boolean inheritable)
-
-
Method Details
-
model
-
x
public float x() -
y
public float y() -
z
public float z() -
rotX
public float rotX() -
rotY
public float rotY() -
rotZ
public float rotZ() -
centered
public boolean centered() -
inheritable
public boolean inheritable() -
isJson
public boolean isJson() -
combineWith
Returns a new SubModelSettings that adds this settings' transform on top ofother.
-