Bitbybit Docs
    Preparing search index...

    Class CreateExtrudedShapeDto (Inputs.BabylonMeshBuilder)

    Feeds babylon.meshBuilder.createExtrudedSahpe: the profile to sweep, the path to sweep it along, and how it scales, turns and closes on the way.

    Index

    Constructors

    Properties

    shape: Vector3[]

    The profile as points in the XY plane, swept along the path

    path: Vector3[]

    The points the profile travels through, in order

    scale: number

    Factor the profile is scaled by along the path; 1 keeps its size

    1
    

    0

    Infinity

    0.1

    rotation: number

    How far the profile turns around the path at each step, in radians; 0 keeps it straight

    0
    

    0

    Infinity

    0.1

    closeShape: boolean

    When true, the last point of the profile is joined back to its first

    false
    
    closePath: boolean

    When true, the last point of the path is joined back to its first

    false
    
    cap: number

    Which ends are closed: 0 none, 1 the start, 2 the end, 3 both

    0
    

    0

    3

    1

    sideOrientation: sideOrientationEnum

    Which side of each face is drawn: the front, the back or both; single-sided meshes are invisible from behind

    doubleside
    
    enableShadows: boolean

    When true, the mesh casts and receives shadows from the lights that have them enabled

    true