Class NodePartPlus
java.lang.Object
gaiasky.render.gdx.model.IntNodePart
gaiasky.render.gdx.model.gltf.scene3d.model.NodePartPlus
-
Field Summary
FieldsFields inherited from class IntNodePart
bones, enabled, invBoneBindTransforms, material, meshPartModifier and TypeFieldDescriptioncom.badlogic.gdx.math.Matrix4[]The current transformation (relative to the bind pose) of each bone, may be null.booleantrue by default.com.badlogic.gdx.utils.ArrayMap<IntNode, com.badlogic.gdx.math.Matrix4> Mapping to each bone (node) and the inverse transform of the bind pose.The Material used to render theIntNodePart.meshPart.The MeshPart (shape) to render. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()protected IntNodePartset(IntNodePart other) Convenience method to set the material, mesh, meshPartOffset, meshPartSize, primitiveType and bones members of the specified Renderable.
-
Field Details
-
morphTargets
null if no morph targets
-
-
Constructor Details
-
NodePartPlus
public NodePartPlus()
-
-
Method Details
-
setRenderable
Description copied from class:IntNodePartConvenience method to set the material, mesh, meshPartOffset, meshPartSize, primitiveType and bones members of the specified Renderable. The other member of the providedIntRenderableremain untouched. Note that the material, mesh and bones members are referenced, not copied. Any changes made to those objects will be reflected in both the NodePart and Renderable object.- Overrides:
setRenderablein classIntNodePart- Parameters:
out- The Renderable of which to set the members to the values of this NodePart.
-
copy
- Overrides:
copyin classIntNodePart
-
set
- Overrides:
setin classIntNodePart
-