AutoMovie API
    Preparing search index...

    Variable primitiveCentroidConst

    primitiveCentroid: (shape: IAutoMoviePrimitiveShape) => IAutoMovieVector3 = ...

    Centroid of a primitive in its own local frame (meters).

    Only the cone is asymmetric along its axis: a solid cone's centroid sits a quarter of its height from the base toward the apex. The engine tessellates a cone with its wide base at +Y and apex at -Y, so that centroid is at +height/4. Every other primitive is centered on its origin.

    Type Declaration