|
static proto ref Shape | CreateShapeFromMesh (notnull MeshObject mo, int lodIndex, string meshName, int shapeColor, ShapeFlags flags) |
| Creates a shape from a given mesh object.
|
|
static proto ref Shape | CreateShapeFromMeshByIndex (notnull MeshObject mo, int lodIndex, int meshIndex, int shapeColor, ShapeFlags flags) |
| Creates a shape from a given mesh object.
|
|
static proto ref Shape | CreateShapeFromXOB (ResourceName xobFilePath, int lodIndex, string meshName, int shapeColor, ShapeFlags flags) |
| Creates a shape from a given mesh object.
|
|
◆ CreateShapeFromMesh()
Creates a shape from a given mesh object.
- Parameters
-
mo | Pointer to the MeshObject from which the shape will be created. |
lodIndex | Level of detail index to be used for the shape. |
meshName | The name of the mesh. |
shapeColor | The color of the shape |
flags | Flags that determine the properties and behavior of the shape. |
◆ CreateShapeFromMeshByIndex()
Creates a shape from a given mesh object.
- Parameters
-
mo | Pointer to the MeshObject from which the shape will be created. |
lodIndex | Level of detail index to be used for the shape. |
meshIndex | Index of the mesh. |
shapeColor | The color of the shape |
flags | Flags that determine the properties and behavior of the shape. |
◆ CreateShapeFromXOB()
Creates a shape from a given mesh object.
- Parameters
-
xobFilePath | ResourceName of the MeshObject from which the shape will be created. |
lodIndex | Level of detail index to be used for the shape. |
meshName | Name of the mesh. |
shapeColor | The color of the shape |
flags | Flags that determine the properties and behavior of the shape. |
The documentation for this interface was generated from the following file:
- Core/generated/Debug/ShapeUtils.c