Class CreateExtrudedShapeDto (Inputs.BabylonMeshBuilder)
Constructors
constructor
Parameters
Optionalshape: Vector3[]Optionalpath: Vector3[]Optionalscale: numberOptionalrotation: numberOptionalcap: numberOptionalsideOrientation: sideOrientationEnumOptionalenableShadows: boolean
Properties
shape
path
scale
scale: number
rotation
rotation: number
closeShape
closeShape: boolean
closePath
closePath: boolean
cap
cap: number
sideOrientation
enableShadows
enableShadows: boolean
供
babylon.meshBuilder.createExtrudedSahpe使用:要扫掠的轮廓、扫掠所沿的路径,以及沿途的缩放、旋转和闭合方式。