Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/PrimitiveSceneInfoData.h |
| Include | #include "PrimitiveSceneInfoData.h" |
Syntax
struct FPrimitiveSceneInfoData
Remarks
All the necessary information for scene primitive to component feedback
Variables
| Type | Name | Description | |
|---|---|---|---|
| FThreadSafeCounter | AttachmentCounter | Incremented by the main thread before being attached to the scene, decremented by the rendering thread after removal. | |
| int32: 1 | bAlwaysVisible | Whether the primitive is always visible. If true the last render time will be unset. | |
| float | LastRenderTime | The value of WorldSettings->TimeSeconds for the frame when this component was last rendered. | |
| float | LastRenderTimeOnScreen | Same as LastRenderTime but only updated if the component is on screen. | |
| float | LastSubmitTime | ||
| FActorLastRenderTime * | OwnerLastRenderTimePtr | Pointer to the last render time variable on the primitive's owning actor or other UObject (if owned), which is written to by the RT and read by the GT. | |
| FPrimitiveComponentId | PrimitiveSceneId | Used by the renderer, to identify a primitive across re-registers. | |
| int32: 31 | RegistrationSerialNumber | ||
| FPrimitiveSceneProxy * | SceneProxy | The primitive's scene info. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | |||
| void | SetLastRenderTime
(
float InLastRenderTime, |
Constants
| Name | Description |
|---|---|
| NextPrimitiveId | Next id to be used by a component. |