Function CreateGreasedLine
-
CreateGreasedLine(
name: string,
options: GreasedLineMeshBuilderOptions,
materialOptions?: Nullable<GreasedLineMaterialBuilderOptions>,
scene?: Nullable<Scene>,
): GreasedLineBaseMesh | GreasedLineRibbonMesh | GreasedLineMeshParameters
- name: string
name of the mesh
- options: GreasedLineMeshBuilderOptions
options for the mesh
OptionalmaterialOptions: Nullable<GreasedLineMaterialBuilderOptions>material options for the mesh
Optionalscene: Nullable<Scene>scene where the mesh will be created
Returns GreasedLineBaseMesh | GreasedLineRibbonMesh | GreasedLineMesh
instance of GreasedLineMesh
- name: string
Creates a GreasedLine mesh