Static mesh component.
More...
Static mesh component.
Definition at line 7 of file ActorComponentsDoxy.h.
◆ get_material()
MaterialInterface * StaticMeshComponent::get_material |
( |
int32 | element_index | ) |
const |
Get the material of the component at the specified index.
- Parameters
-
ElementIndex | int32 representing the material index. |
- Returns
- MaterialInterface pointer representing the current material.
◆ get_relative_location()
vec3 StaticMeshComponent::get_relative_location |
( |
| ) |
const |
Get the relative location (translation) of the component.
- Returns
- Vec3 representing the relative location of the component.
◆ get_relative_rotation()
Rotator StaticMeshComponent::get_relative_rotation |
( |
| ) |
const |
Get the relative rotation (orientation) of the component.
- Returns
- Rotator representing the relative rotation of the component.
◆ get_relative_scale3_d()
vec3 StaticMeshComponent::get_relative_scale3_d |
( |
| ) |
const |
Get the relative scale of the component.
- Returns
- Vec3 representing the relative scale of the component.
◆ get_static_mesh()
StaticMesh * StaticMeshComponent::get_static_mesh |
( |
| ) |
const |
Get the static mesh of the component.
- Returns
- StaticMesh pointer representing the current static mesh.
◆ set_material()
void StaticMeshComponent::set_material |
( |
int32 | element_index, |
|
|
MaterialInterface * | material ) |
Set the material for the component at the specified index.
- Parameters
-
ElementIndex | int32 representing the material index. |
Material | MaterialInterface pointer representing the new material. |
◆ set_relative_location()
void StaticMeshComponent::set_relative_location |
( |
const vec3 & | new_location | ) |
|
Set the relative location (translation) of the component.
- Parameters
-
NewLocation | Vec3 representing the new relative location. |
◆ set_relative_rotation()
void StaticMeshComponent::set_relative_rotation |
( |
const Rotator & | new_rotation | ) |
|
Set the relative rotation (orientation) of the component.
- Parameters
-
NewRotation | Rotator representing the new relative rotation. |
◆ set_relative_scale3_d()
void StaticMeshComponent::set_relative_scale3_d |
( |
const vec3 & | new_scale | ) |
|
Set the relative scale of the component.
- Parameters
-
NewScale | Vec3 representing the new relative scale. |
◆ set_static_mesh()
void StaticMeshComponent::set_static_mesh |
( |
StaticMesh * | static_mesh | ) |
|
Set the static mesh for the component.
- Parameters
-