ThreePipe
    Preparing search index...

    Class EllipseCurve3D

    A 3D version of three.js EllipseCurve that returns Vector3 points. Useful for creating circular/elliptical 3D paths for TubeGeometry and TubeShapeGeometry.

    Note: EllipseCurve extends Curve, but this override returns Vector3 at runtime. Type casts may be needed when passing to APIs expecting Curve.

    Hierarchy

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • OptionalaX: number
      • OptionalaY: number
      • OptionalxRadius: number
      • OptionalyRadius: number
      • OptionalaStartAngle: number
      • OptionalaEndAngle: number
      • OptionalaClockwise: boolean
      • OptionalaRotation: number

      Returns EllipseCurve3D

    Properties

    type: string

    A Read-only string to check if this object type.

    Sub-classes will update this value.

    EllipseCurve

    Methods

    • Returns a vector for a given position on the curve.

      Parameters

      • t: number

        A position on the curve. Must be in the range [ 0, 1 ]. Expects a Float

      • OptionaloptionalTarget: any

        If specified, the result will be copied into this Vector, otherwise a new Vector will be created. Default new T.

      Returns Vector2