Class NodePartPlus

java.lang.Object
gaiasky.util.gdx.model.IntNodePart
gaiasky.util.gdx.model.gltf.scene3d.model.NodePartPlus

public class NodePartPlus extends IntNodePart
  • Field Details

    • morphTargets

      public WeightVector morphTargets
      null if no morph targets
  • Constructor Details

    • NodePartPlus

      public NodePartPlus()
  • Method Details

    • setRenderable

      public IntRenderable setRenderable(IntRenderable out)
      Description copied from class: IntNodePart
      Convenience method to set the material, mesh, meshPartOffset, meshPartSize, primitiveType and bones members of the specified Renderable. The other member of the provided IntRenderable remain 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:
      setRenderable in class IntNodePart
      Parameters:
      out - The Renderable of which to set the members to the values of this NodePart.
    • copy

      public IntNodePart copy()
      Overrides:
      copy in class IntNodePart
    • set

      protected IntNodePart set(IntNodePart other)
      Overrides:
      set in class IntNodePart