Navigation
API > API/Runtime > API/Runtime/Engine
Collects changed instance data (and what else is needed to update the instance data proxy) from the source and
| Name | FInstanceUpdateChangeSet |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/InstanceData/InstanceUpdateChangeSet.h |
| Include Path | #include "InstanceData/InstanceUpdateChangeSet.h" |
Syntax
class FInstanceUpdateChangeSet
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInstanceUpdateChangeSet
(
bool bInNeedFullUpdate, |
Construct a delta change set, but which can be forced to full using bInNeedFullUpdate. | InstanceData/InstanceUpdateChangeSet.h | |
FInstanceUpdateChangeSet
(
int32 InNumSourceInstances, |
Construct a full change set, with no delta (which will collect all enabled data). | InstanceData/InstanceUpdateChangeSet.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AbsMaxDisplacement | float | InstanceData/InstanceUpdateChangeSet.h | ||
| bIdentityIdMap | bool | InstanceData/InstanceUpdateChangeSet.h | ||
| bNeedFullUpdate | bool | InstanceData/InstanceUpdateChangeSet.h | ||
| bUpdateAllInstanceTransforms | bool | Needs its own bool because it is always present and thus doesn't have a flag in FInstanceDataFlags. | InstanceData/InstanceUpdateChangeSet.h | |
| Flags | FInstanceDataFlags | Flags that dictate what attributes will be gathered from the source (and deposited at the destination). | InstanceData/InstanceUpdateChangeSet.h | |
| ForceFullFlags | FInstanceDataFlags | Flags that can be set to force individual attributes to use a full update has effect IFF Flags is set for the given attribute. | InstanceData/InstanceUpdateChangeSet.h | |
| GeneratePerInstanceRandomIds | TFunction< void(TArray< float > &InstanceRandomIDs)> | Function that can generate all the random IDs on demand, if this is supplied is must generate all, otherwise it is zero-filled if they are requested. | InstanceData/InstanceUpdateChangeSet.h | |
| HitProxyContainer | TPimplPtr< FOpaqueHitProxyContainer > | InstanceData/InstanceUpdateChangeSet.h | ||
| IndexToIdMapDeltaData | TArray< FPrimitiveInstanceId > | InstanceData/InstanceUpdateChangeSet.h | ||
| InstanceAttributeTracker | FInstanceAttributeTracker | InstanceData/InstanceUpdateChangeSet.h | ||
| InstanceEditorData | TArray< uint32 > | InstanceData/InstanceUpdateChangeSet.h | ||
| InstanceLightShadowUVBias | TArray< FVector4f > | InstanceData/InstanceUpdateChangeSet.h | ||
| InstanceLocalBounds | TArray< FRenderBounds > | InstanceData/InstanceUpdateChangeSet.h | ||
| InstanceSkinningData | TArray< uint32 > | InstanceData/InstanceUpdateChangeSet.h | ||
| MaxInstanceId | int32 | InstanceData/InstanceUpdateChangeSet.h | ||
| NumCustomDataFloats | int32 | InstanceData/InstanceUpdateChangeSet.h | ||
| NumSourceInstances | int32 | InstanceData/InstanceUpdateChangeSet.h | ||
| PerInstanceCustomData | TArray< float > | InstanceData/InstanceUpdateChangeSet.h | ||
| PrecomputedOptimizationData | FPrecomputedInstanceSpatialHashDataPtr | Describes precomputed spatial hashes and the instance reordering that is needed to use these. | InstanceData/InstanceUpdateChangeSet.h | |
| PreviousPrimitiveToRelativeWorld | TOptional< FRenderTransform > | InstanceData/InstanceUpdateChangeSet.h | ||
| PrevTransforms | TArray< FRenderTransform > | InstanceData/InstanceUpdateChangeSet.h | ||
| PrimitiveToRelativeWorld | FRenderTransform | InstanceData/InstanceUpdateChangeSet.h | ||
| PrimitiveWorldSpaceOffset | FVector | InstanceData/InstanceUpdateChangeSet.h | ||
| SelectedInstances | TBitArray | InstanceData/InstanceUpdateChangeSet.h | ||
| Transforms | TArray< FRenderTransform > | InstanceData/InstanceUpdateChangeSet.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
auto GetCustomDataReader() |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetCustomDataSetup() |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetCustomDataWriter() |
InstanceData/InstanceUpdateChangeSet.h | ||
FInstanceAttributeTracker::FDeltaRange< Flag > GetDelta
(
bool bForceEmpty, |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetEditorDataReader() |
InstanceData/InstanceUpdateChangeSet.h | ||
FInstanceAttributeTracker::FDeltaRange< FInstanceAttributeTracker::EFlag::IndexChanged > GetIndexChangedDelta() |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetLightShadowUVBiasReader() |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetLocalBoundsReader() |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetLocalBoundsSetup() |
These use an identity delta, which means they send all or nothing. | InstanceData/InstanceUpdateChangeSet.h | |
auto GetLocalBoundsWriter() |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetPrevTransformReader() |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetPrevTransformSetup() |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetPrevTransformWriter() |
InstanceData/InstanceUpdateChangeSet.h | ||
TDeltaSetup< ElementType, FInstanceAttributeTracker::FDeltaRange< DeltaFlag > > GetSetup
(
bool bEnabledFlag, |
InstanceData/InstanceUpdateChangeSet.h | ||
TDeltaSetup< ElementType, FIdentityDeltaRange > GetSetup
(
bool bEnabledFlag, |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetSkinningDataReader() |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetSkinningDataSetup() |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetSkinningDataWriter() |
InstanceData/InstanceUpdateChangeSet.h | ||
FInstanceAttributeTracker::FDeltaRange< FInstanceAttributeTracker::EFlag::TransformChanged > GetTransformDelta() |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetTransformReader() |
InstanceData/InstanceUpdateChangeSet.h | ||
auto GetTransformSetup () |
These setups define the mapping from a delta attribute bit in the tracker to the data array. | InstanceData/InstanceUpdateChangeSet.h | |
auto GetTransformWriter() |
Convenience functions to get a reader / writer for a given array. | InstanceData/InstanceUpdateChangeSet.h | |
bool IsFullUpdate() |
InstanceData/InstanceUpdateChangeSet.h | ||
void SetEditorData
(
const TArray< TRefCountPtr< HHitProxy > >& HitProxies, |
Set editor data. | InstanceData/InstanceUpdateChangeSet.h | |
void SetSharedLocalBounds
(
const FRenderBounds& Bounds |
Used to set a single, shared, instance local bounds, only allowed when Flags.bHasPerInstanceLocalBounds is false. | InstanceData/InstanceUpdateChangeSet.h |