java.lang.Object
gaiasky.util.gdx.model.IntNode
gaiasky.util.gdx.model.gltf.scene3d.model.NodePlus

public class NodePlus extends IntNode
  • Field Details

    • weights

      public WeightVector weights
      Null if no morph targets.
    • morphTargetNames

      public com.badlogic.gdx.utils.Array<String> morphTargetNames
      Optional morph target names (e.g. exported from Blender with custom properties enabled). shared with others nodes with same mesh.
  • Constructor Details

    • NodePlus

      public NodePlus()
  • Method Details

    • copy

      public IntNode copy()
      Description copied from class: IntNode
      Creates a nested copy of this Node, any child nodes are copied using this method as well. The IntNode.parts are copied using the IntNodePart.copy() method. Note that that method copies the material and nodes (bones) by reference. If you intend to use the copy in a different node tree (e.g. a different Model or ModelInstance) then you will need to update these references afterwards.

      Override this method in your custom Node class to instantiate that class, in that case you should override the IntNode.set(IntNode) method as well.

      Overrides:
      copy in class IntNode
    • set

      protected IntNode set(IntNode other)
      Description copied from class: IntNode
      Creates a nested copy of this Node, any child nodes are copied using the IntNode.copy() method. This will detach this node from its parent, but does not attach it to the parent of node being copied. The IntNode.parts are copied using the IntNodePart.copy() method. Note that that method copies the material and nodes (bones) by reference. If you intend to use this node in a different node tree (e.g. a different Model or ModelInstance) then you will need to update these references afterwards.

      Override this method in your custom Node class to copy any additional fields you've added.

      Overrides:
      set in class IntNode
      Returns:
      This Node for chaining