Class BlueprintBone
java.lang.Object
com.ticxo.modelengine.api.generator.blueprint.BlueprintBone
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis map contains Behavior ID - Parsed behavior arguments pairs.
This exists to account for custom parsers that do not sanitize their behavior argument.This set contain blueprint-specificbone behavior
providers.
The provider would create a new instance ofbone behavior
which reference an immutable singletondata map
specific to this bone.int
org.joml.Vector3f
org.joml.Quaternionf
org.joml.Vector3f
org.joml.Vector3f
org.joml.Quaternionf
org.joml.Vector3f
org.joml.Vector3f
getName()
org.joml.Vector3f
int
getScale()
boolean
boolean
void
setDataId
(int dataId) void
setDupeTarget
(BlueprintBone dupeTarget) void
setGlobalPosition
(org.joml.Vector3f globalPosition) void
setGlobalQuaternion
(org.joml.Quaternionf globalQuaternion) void
setGlobalRotation
(org.joml.Vector3f globalRotation) void
setLocalPosition
(org.joml.Vector3f localPosition) void
setLocalQuaternion
(org.joml.Quaternionf localQuaternion) void
setLocalRotation
(org.joml.Vector3f localRotation) void
setModelScale
(org.joml.Vector3f modelScale) void
void
setParent
(BlueprintBone parent) void
setRenderByDefault
(boolean renderByDefault) void
setRenderer
(boolean isRenderer) void
setRotatedGlobalPosition
(org.joml.Vector3f rotatedGlobalPosition) void
setScale
(int scale)
-
Constructor Details
-
BlueprintBone
public BlueprintBone()
-
-
Method Details
-
getChildren
-
getBehaviors
This map contains Behavior ID - Parsed behavior arguments pairs.
This exists to account for custom parsers that do not sanitize their behavior argument. Which Model Engine would then iterate through to detect missing required data or wrong data types, and compile adata map
with only valid arguments. -
getCachedBehaviorProvider
This set contain blueprint-specificbone behavior
providers.
The provider would create a new instance ofbone behavior
which reference an immutable singletondata map
specific to this bone. -
getName
-
isRenderer
public boolean isRenderer() -
getScale
public int getScale() -
getDataId
public int getDataId() -
getLocalPosition
public org.joml.Vector3f getLocalPosition() -
getLocalRotation
public org.joml.Vector3f getLocalRotation() -
getLocalQuaternion
public org.joml.Quaternionf getLocalQuaternion() -
getGlobalPosition
public org.joml.Vector3f getGlobalPosition() -
getRotatedGlobalPosition
public org.joml.Vector3f getRotatedGlobalPosition() -
getGlobalRotation
public org.joml.Vector3f getGlobalRotation() -
getGlobalQuaternion
public org.joml.Quaternionf getGlobalQuaternion() -
getParent
-
getModelScale
public org.joml.Vector3f getModelScale() -
getDupeTarget
-
isRenderByDefault
public boolean isRenderByDefault() -
setName
-
setRenderer
public void setRenderer(boolean isRenderer) -
setScale
public void setScale(int scale) -
setDataId
public void setDataId(int dataId) -
setLocalPosition
public void setLocalPosition(org.joml.Vector3f localPosition) -
setLocalRotation
public void setLocalRotation(org.joml.Vector3f localRotation) -
setLocalQuaternion
public void setLocalQuaternion(org.joml.Quaternionf localQuaternion) -
setGlobalPosition
public void setGlobalPosition(org.joml.Vector3f globalPosition) -
setRotatedGlobalPosition
public void setRotatedGlobalPosition(org.joml.Vector3f rotatedGlobalPosition) -
setGlobalRotation
public void setGlobalRotation(org.joml.Vector3f globalRotation) -
setGlobalQuaternion
public void setGlobalQuaternion(org.joml.Quaternionf globalQuaternion) -
setParent
-
setModelScale
public void setModelScale(org.joml.Vector3f modelScale) -
setDupeTarget
-
setRenderByDefault
public void setRenderByDefault(boolean renderByDefault)
-