Spline

About

  • Header File: c4dplugin/description/ospline.h

  • Description Category: Scene Objects. A c4d.BaseObject.

  • Included Description:

Parameters

Parameters are accessed with C4DAtom.GetParameter()/C4DAtom.SetParameter().


Parameter: Type

  • Parameter ID: c4d.SPLINEOBJECT_TYPE

  • Parameter Type: int

  • Cycle Values:
    • Linear (c4d.SPLINEOBJECT_TYPE_LINEAR)

    • Cubic (c4d.SPLINEOBJECT_TYPE_CUBIC)

    • Akima (c4d.SPLINEOBJECT_TYPE_AKIMA)

    • B-Spline (c4d.SPLINEOBJECT_TYPE_BSPLINE)

    • Bezier (c4d.SPLINEOBJECT_TYPE_BEZIER)


Parameter: Close Spline

  • Parameter ID: c4d.SPLINEOBJECT_CLOSED

  • Parameter Type: bool


Parameter: Intermediate Points

  • Parameter ID: c4d.SPLINEOBJECT_INTERPOLATION

  • Parameter Type: int

  • Cycle Values:
    • None (c4d.SPLINEOBJECT_INTERPOLATION_NONE)

    • Natural (c4d.SPLINEOBJECT_INTERPOLATION_NATURAL)

    • Uniform (c4d.SPLINEOBJECT_INTERPOLATION_UNIFORM)

    • Adaptive (c4d.SPLINEOBJECT_INTERPOLATION_ADAPTIVE)

    • Subdivided (c4d.SPLINEOBJECT_INTERPOLATION_SUBDIV)


Parameter: Number

  • Parameter ID: c4d.SPLINEOBJECT_SUB

  • Parameter Type: int


Parameter: Angle

  • Parameter ID: c4d.SPLINEOBJECT_ANGLE

  • Parameter Type: float


Parameter: Maximum Length

  • Parameter ID: c4d.SPLINEOBJECT_MAXIMUMLENGTH

  • Parameter Type: float