Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UInstancedStaticMeshComponent
Description
Returns the matrix that should be used to render this component. Allows component class to perform graphical distortion to the component not supported by an FTransform NOTE: When overriding this method to alter the transform used for rendering it is typically neccessary to also implement USceneComponent::UpdateBounds. Otherwise the Local bounds will not match the world space bounds, causing incorrect culling.
Virtual Inheritance
- UPrimitiveComponent::GetRenderMatrix → UInstancedStaticMeshComponent::GetRenderMatrix
| Name | GetRenderMatrix |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include Path | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp |
virtual FMatrix GetRenderMatrix() const