MeshPart and Material, used to represent a Node's graphical properties. A NodePart is
the smallest visible part of a Model, each NodePart implies a render call.
| Modifier and Type | Field and Description |
|---|---|
| public Matrix4[] | bones
The current transformation (relative to the bind pose) of each bone, may be null. |
| public boolean | enabled
true by default. |
| public ArrayMap | invBoneBindTransforms
Mapping to each bone (node) and the inverse transform of the bind pose. |
| public Material | |
| public MeshPart | meshPart
The MeshPart (shape) to render. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public NodePart | |
| protected NodePart | |
| public Renderable | setRenderable(final Renderable
The Renderable of which to set the members to the values of this NodePart. out)Convenience method to set the material, mesh, meshPartOffset, meshPartSize, primitiveType and bones members of the specified Renderable. |
| bones | back to summary |
|---|---|
| public Matrix4[] bones The current transformation (relative to the bind pose) of each bone, may be null. When the part is skinned, this will be
updated by a call to | |
| enabled | back to summary |
|---|---|
| public boolean enabled true by default. If set to false, this part will not participate in rendering and bounding box calculation. | |
| invBoneBindTransforms | back to summary |
|---|---|
| public ArrayMap<Node, Matrix4> invBoneBindTransforms Mapping to each bone (node) and the inverse transform of the bind pose. Will be used to fill the | |
| material | back to summary |
|---|---|
| public Material material The Material used to render the | |
| meshPart | back to summary |
|---|---|
| public MeshPart meshPart The MeshPart (shape) to render. Must not be null. | |
| NodePart | back to summary |
|---|---|
| public NodePart() Construct a new NodePart with null values. At least the | |
| NodePart | back to summary |
|---|---|
| public NodePart(final MeshPart meshPart, final Material material) Construct a new NodePart referencing the provided | |
| copy | back to summary |
|---|---|
| public NodePart copy() | |
| set | back to summary |
|---|---|
| protected NodePart set(NodePart other) | |
| setRenderable | back to summary |
|---|---|
| public Renderable setRenderable(final Renderable out) Convenience method to set the material, mesh, meshPartOffset, meshPartSize, primitiveType and bones members of the
specified Renderable. The other member of the provided
| |