AISMPartitionActor

Copyright Epic Games, Inc. All Rights Reserved.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ISMPartition/ISMPartitionActor.h

Include

#include "ISMPartition/ISMPartitionActor.h"

Syntax

class AISMPartitionActor :
    public APartitionActor,
    public ISMInstanceManager,
    public ISMInstanceManagerProvider

Remarks

Actor base class for instance containers placed on a grid. See UActorPartitionSubsystem.

Constructors

Name Description

Public function

AISMPartitionActor

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

TArray< FSMI...

 

AddISMInstance

(
    const FISMClientHandle& Handle,
    const FTransform& InstanceTransfor...,
    const TSortedMap< int32, TArray< FT...
)

Public function

void

 

BeginUpdate()

Public function

void

 

EndUpdate()

Public function Const

void

 

ForEachClientComponent

(
    const FISMClientHandle& Handle,
    TFunctionRef< bool...
)

Public function Const

void

 

ForEachClientSMInstance

(
    const FISMClientHandle& Handle,
    TFunctionRef< bool)> ...
)

Public function Const

void

 

ForEachClientSMInstance

(
    const FISMClientHandle& Handle,
    int32 InstanceIndex,
    TFunctionRef< bool)> ...
)

Public function Const

const FISMCo...

 

GetISMComponentDescriptor

(
    int32 DescriptorIndex
)

Public function Const

FBox

 

GetISMInstanceBounds

(
    const FISMClientHandle& Handle,
    const TSet< int32 >& Indices
)

Public function Const

int32

 

GetISMInstanceIndex

(
    const FISMClientHandle& Handle,
    const UInstancedStaticMeshComponent...,
    int32 ComponentIndex
)

Public function Const

bool

 

IsISMComponent

(
    const UPrimitiveComponent* Com...
)

Public function Const

void

 

OutputStats()

Public function

FISMClientHa...

 

RegisterClient

(
    const FGuid& ClientGuid
)

Public function

void

 

RegisterClientInstanceManager

(
    const FISMClientHandle& Handle,
    IISMPartitionInstanceManager* ...
)

Public function

void

 

RegisterClientInstanceManagerProvider

(
    const FISMClientHandle& Handle,
    IISMPartitionInstanceManagerProvide...
)

Public function

int32

 

RegisterISMComponentDescriptor

(
    const FISMComponentDescriptor& Des...
)

Public function

void

 

RemoveISMInstance

(
    const FISMClientHandle& Handle,
    int32 InstanceIndex,
    bool* bOutIsEmpty
)

Public function

void

 

RemoveISMInstances

(
    const FISMClientHandle& Handle
)

Public function

void

 

ReserveISMInstances

(
    const FISMClientHandle& Handle,
    int32 AddedInstanceCount,
    const TSortedMap< int32, TArray< FT...
)

Public function

void

 

SelectISMInstances

(
    const FISMClientHandle& Handle,
    bool bSelect,
    const TSet< int32 >& Indices
)

Public function

void

 

SetISMInstanceTransform

(
    const FISMClientHandle& Handle,
    int32 InstanceIndex,
    const FTransform& NewTransform,
    bool bTeleport,
    const TSortedMap< int32, TArray< FT...
)

Public function

void

 

UnregisterClient

(
    FISMClientHandle& ClientHandle
)

Public function

void

 

UpdateHISMTrees

(
    bool bAsync,
    bool bForce
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditUndo()

Called after applying a transaction to the object.

Public function Virtual

void

 

PreEditUndo()

Called before applying a transaction to the object.

Overridden from ISMInstanceManagerProvider

Name Description

Protected function Virtual

ISMInstanceM...

 

GetSMInstanceManager

(
    const FSMInstanceId& InstanceId
)

Attempt to get the instance manager associated with the given static mesh instance, if any.