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. | |
| 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 | Last time the component was submitted for rendering (called FScene::AddPrimitive). | |
| float * | 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 | RegistrationSerialNumber | Identifier used to track the time that this component was registered with the world / renderer. | |
| 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. |
| NextRegistrationSerialNumber | Next registration serial number to be assigned to a component when it is registered. |