Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UPrimitiveComponent
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.
Derived Overrides
| Name | GetRenderMatrix |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include Path | #include "Components/PrimitiveComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/PrimitiveComponent.cpp |
virtual FMatrix GetRenderMatrix() const