Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FSceneProxyBase
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual HHitProxy * CreateHitProxies
(
IPrimitiveComponent* ComponentInterface, |
Creates the hit proxies are used when DrawDynamicElements is called. Called in the game thread. | NaniteSceneProxy.h | |
virtual HHitProxy * CreateHitProxies
(
UPrimitiveComponent* Component, |
All FPrimitiveSceneProxy derived classes can decide to fully override the HHitProxy creation, or add their own and call any of their base classes to add theirs. | NaniteSceneProxy.h |
CreateHitProxies(IPrimitiveComponent *, TArray< TRefCountPtr< HHitProxy > > &)
Description
Creates the hit proxies are used when DrawDynamicElements is called. Called in the game thread.
| Name | CreateHitProxies |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/NaniteSceneProxy.h |
| Include Path | #include "NaniteSceneProxy.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/NaniteResources.cpp |
virtual HHitProxy * CreateHitProxies
(
IPrimitiveComponent * ComponentInterface,
TArray < TRefCountPtr < HHitProxy > > & OutHitProxies
)
The hit proxy to use by default for elements drawn by DrawDynamicElements.
Parameters
| Name | Remarks |
|---|---|
| OutHitProxies | Hit proxes which are created should be added to this array. |
CreateHitProxies(UPrimitiveComponent *, TArray< TRefCountPtr< HHitProxy > > &)
Description
All FPrimitiveSceneProxy derived classes can decide to fully override the HHitProxy creation, or add their own and call any of their base classes to add theirs.
Classes deriving from FPrimitiveSceneProxy which are meant to be used with IPrimitiveComponent should override both CreateHitProxies(UPrimitiveComponent*, ...) and CreateHitProxies(IPrimitiveComponent*, ...) and make the UPrimitiveComponent version call into the IPrimitiveComponent one. This allows their derived classes that are exclusive to UPrimitiveComponent to call into them and to reroute the proxy creation to the IPrimitiveComponent path. Creates the hit proxies are used when DrawDynamicElements is called. Called in the game thread.
| Name | CreateHitProxies |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/NaniteSceneProxy.h |
| Include Path | #include "NaniteSceneProxy.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Rendering/NaniteResources.cpp |
virtual HHitProxy * CreateHitProxies
(
UPrimitiveComponent * Component,
TArray < TRefCountPtr < HHitProxy > > & OutHitProxies
)
The hit proxy to use by default for elements drawn by DrawDynamicElements.
Parameters
| Name | Remarks |
|---|---|
| OutHitProxies | Hit proxes which are created should be added to this array. |