Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UInstancedStaticMeshComponent
- UPrimitiveComponent::GetRenderMatrix()
- UInstancedStaticMeshComponent::GetRenderMatrix()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h |
| Include | #include "Components/InstancedStaticMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp |
virtual FMatrix GetRenderMatrix&40;&41; const
Remarks
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.