Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/InstancedStaticMesh
Inheritance Hierarchy
- FInstanceDataSceneProxy
- FISMCInstanceDataSceneProxy
- FISMCInstanceDataSceneProxyLegacyReordered
- FISMCInstanceDataSceneProxyNoGPUScene
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/InstancedStaticMesh/ISMInstanceDataSceneProxy.h |
| Include | #include "InstancedStaticMesh/ISMInstanceDataSceneProxy.h" |
Syntax
class FISMCInstanceDataSceneProxyLegacyReordered : public FISMCInstanceDataSceneProxy
Remarks
Proxy that supports legacy reordered (HISM) data management.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bLegacyReordered | ||
| TUniquePtr< FStaticMeshInstanceData > | ExternalLegacyData | Must hang on to this to be able to suppor primitive transform changes, otherwise we have no access to the original instance transforms. | |
| TArray< int32 > | LegacyInstanceReorderTable |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FISMCInstanceDataSceneProxyLegacyReordered
(
FStaticShaderPlatform InShaderPlatform, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | UpdateInstancesTransforms
(
FInstanceSceneDataBuffers::FWriteView& ProxyData, |
Overridden from FISMCInstanceDataSceneProxy
| Type | Name | Description | |
|---|---|---|---|
| void | Build
(
FISMInstanceUpdateChangeSet&& ChangeSet |
||
| void | BuildFromLegacyData
(
TUniquePtr< FStaticMeshInstanceData >&& InExternalLegacyData, |
||
| void | Update
(
FISMInstanceUpdateChangeSet&& ChangeSet |
Overridable functions to update / build proxy data from a change set. | |
| void | UpdatePrimitiveTransform
(
FISMInstanceUpdateChangeSet&& ChangeSet |
Handle only updating the primitive transform, could make use of special cases such as translation only if implemented properly. |