Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine
Implementation of a geometry collection custom renderer that creates static mesh components representing the root proxies.
| Name | UGeometryCollectionRootProxyRenderer |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionRootProxyRenderer.h |
| Include Path | #include "GeometryCollection/GeometryCollectionRootProxyRenderer.h" |
Syntax
UCLASS (MinimalAPI)
class UGeometryCollectionRootProxyRenderer :
public UObject ,
public IGeometryCollectionExternalRenderInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGeometryCollectionRootProxyRenderer
Implements Interfaces
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| StaticMeshComponents | TArray< TObjectPtr< UStaticMeshComponent > > | Static mesh components for the root proxy meshes. | GeometryCollection/GeometryCollectionRootProxyRenderer.h |
Functions
Public
Overridden from IGeometryCollectionExternalRenderInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanEverUseNativeFallback() |
Returns true if this renderer can ever return true for ShouldUseNativeFallback(). | GeometryCollection/GeometryCollectionRootProxyRenderer.h | |
virtual void OnRegisterGeometryCollection
(
UGeometryCollectionComponent& InComponent |
Called on geometry collection component registration. | GeometryCollection/GeometryCollectionRootProxyRenderer.h | |
virtual void OnUnregisterGeometryCollection() |
Called on geometry collection component unregistration. | GeometryCollection/GeometryCollectionRootProxyRenderer.h | |
virtual bool ShouldUseNativeFallback
(
uint32 InStateFlags |
Returns true if the custom renderer can't render for the given state, and requires native rendering instead. | GeometryCollection/GeometryCollectionRootProxyRenderer.h | |
virtual void UpdateRootTransform
(
UGeometryCollection const& InGeometryCollection, |
Update the root bone transform of the geometry collection. | GeometryCollection/GeometryCollectionRootProxyRenderer.h | |
virtual void UpdateRootTransforms
(
UGeometryCollection const& InGeometryCollection, |
Update the root proxy transforms of the geometry collection. | GeometryCollection/GeometryCollectionRootProxyRenderer.h | |
virtual void UpdateState
(
UGeometryCollection const& InGeometryCollection, |
Set the state of the geometry collection. | GeometryCollection/GeometryCollectionRootProxyRenderer.h | |
virtual void UpdateTransforms
(
UGeometryCollection const& InGeometryCollection, |
Update all the bones transforms. | GeometryCollection/GeometryCollectionRootProxyRenderer.h |