Modifier and Type | Method and Description |
---|---|
Node |
Node.createChildNode()
Creates a child node
|
Node |
Node.createChildNode(Entity entity)
Create a new child node with given entity attached
|
Node |
Node.createChildNode(String nodeName)
Create a new child node with given node name
|
Node |
Node.createChildNode(String nodeName,
Entity entity)
Create a new child node with given node name
|
Node |
Node.findNode(String name)
Find child node by its name or return null if no matched node found
|
Node |
Node.getChild(int index)
Gets the child node at specified index.
|
Node |
Node.getChild(String nodeName)
Gets the child node with the specified name
|
Node |
BonePose.getNode()
Gets the scene node, points to a skinned skeleton node
|
Node |
Bone.getNode()
Gets the node.
|
Node |
Node.getParentNode()
Gets the parent node.
|
Node |
Entity.getParentNode()
Gets the first parent node, if set the first parent node, this entity will be detached from other parent nodes.
|
Node |
Scene.getRootNode()
Gets the root node of the scene.
|
Node |
IOrientable.getTarget()
Gets the target that the entity is looking at.
|
Node |
Frustum.getTarget()
Gets the target that the camera is looking at.
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
Node.getChildNodes()
Gets the children nodes.
|
ArrayList<Node> |
Entity.getParentNodes()
Gets all parent nodes, an entity can be attached to multiple parent nodes for geometry instancing
|
Modifier and Type | Method and Description |
---|---|
void |
Pose.addBonePose(Node node,
Matrix4 matrix)
Saves pose transformation matrix for the given bone node.
|
void |
Pose.addBonePose(Node node,
Matrix4 matrix,
boolean localMatrix)
Saves pose transformation matrix for the given bone node.
|
void |
Node.addChildNode(Node node)
Add a child node to this node
|
boolean |
NodeVisitor.call(Node node)
A callback to travel through the whole node hierarchy.
|
static Mesh |
PolygonModifier.mergeMesh(Node node)
Convert a whole node to a single transformed mesh
Vertex elements like normal/texture coordinates are not supported yet
|
static void |
PolygonModifier.scale(Node node,
Vector3 scale)
Scale all geometries(Scale the control points not the transformation matrix) in this node
|
void |
BonePose.setNode(Node value)
Sets the scene node, points to a skinned skeleton node
|
void |
Bone.setNode(Node value)
Sets the node.
|
void |
Node.setParentNode(Node value)
Sets the parent node.
|
void |
Entity.setParentNode(Node value)
Sets the first parent node, if set the first parent node, this entity will be detached from other parent nodes.
|
void |
IOrientable.setTarget(Node value)
Sets the target that the entity is looking at.
|
void |
Frustum.setTarget(Node value)
Sets the target that the camera is looking at.
|
static void |
PolygonModifier.splitMesh(Node node,
SplitMeshPolicy policy)
Split mesh into sub-meshes by
VertexElementMaterial . |
static void |
PolygonModifier.splitMesh(Node node,
SplitMeshPolicy policy,
boolean createChildNodes)
Split mesh into sub-meshes by
VertexElementMaterial . |
static void |
PolygonModifier.splitMesh(Node node,
SplitMeshPolicy policy,
boolean createChildNodes,
boolean removeOldMesh)
Split mesh into sub-meshes by
VertexElementMaterial . |
Modifier and Type | Method and Description |
---|---|
static Mesh |
PolygonModifier.mergeMesh(List<Node> nodes)
Convert a whole node to a single transformed mesh
Vertex elements like normal/texture coordinates are not supported yet
|
Copyright © 2019. All rights reserved.