init
TypeScriptstatic initFrontBackExtrusionFrontChamferBackChamfer(front?: number, back?: number, extrusion?: number, frontChamfer?: number, backChamfer?: number): Promise<MeshResource_ShapeExtrusionOptions_MaterialAssignment>Swift declarationinit(front: UInt32 = 0, back: UInt32 = 0, extrusion: UInt32 = 0, frontChamfer: UInt32 = 0, backChamfer: UInt32 = 0)Creates a material assignment structure with options for each side of an extruded shape. - Parameters: - front: The material index for the front face of the shape. - back: The material index for the back face of the shape. - extrusion: The material index for the extruded faces of the shape. - frontChamfer: The material index for the chamfered edges between the front and sides of the shape. - backChamfer: The material index for the chamfered edges between the back and sides of the shape. The default for any omitted parameter is `0`.