Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
- UPrimitiveComponent::GetRenderMatrix()
- UInstancedStaticMeshComponent::GetRenderMatrix()
- UTextRenderComponent::GetRenderMatrix()
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
virtual FMatrix GetRenderMatrix() 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.