Class Shape

  • All Implemented Interfaces:
    INamedObject

    public class Shape
    extends Geometry
    The shape describes the deformation on a set of control points, which is similar to the cluster deformer in Maya. For example, we can add a shape to a created geometry. And the shape and the geometry have the same topological information but different position of the control points. With varying amounts of influence, the geometry performs a deformation effect.
    • Constructor Detail

      • Shape

        public Shape()
        Initializes a new instance of the Shape class.
      • Shape

        public Shape​(java.lang.String name)
        Initializes a new instance of the Shape class.
        Parameters:
        name - Name
    • Method Detail

      • fromControlPoints

        public static Shape fromControlPoints​(Vector3... controlPoints)
        Create a shape with specified control points with a default indices.
        Parameters:
        controlPoints -
      • getIndices

        public java.util.List<java.lang.Integer> getIndices()
        Gets the indices.