Navigation
API > API/Runtime > API/Runtime/Engine
| Name | ALightWeightInstanceStaticMeshManager |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/LightWeightInstanceStaticMeshManager.h |
| Include Path | #include "GameFramework/LightWeightInstanceStaticMeshManager.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, Experimental, MinimalAPI)
class ALightWeightInstanceStaticMeshManager :
public ALightWeightInstanceManager ,
public ISMInstanceManager
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → AActor → ALightWeightInstanceManager → ALightWeightInstanceStaticMeshManager
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ALightWeightInstanceStaticMeshManager
(
const FObjectInitializer& ObjectInitializer |
GameFramework/LightWeightInstanceStaticMeshManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearStaticMesh() |
Clears the static mesh used for rendering instances. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual void SetStaticMeshFromActor
(
AActor* InActor |
Sets the static mesh to use based on the info contained in InActor. | GameFramework/LightWeightInstanceStaticMeshManager.h |
Overridden from ALightWeightInstanceManager
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetRepresentedClass
(
UClass* ActorClass |
Sets the specific class that this manages. | GameFramework/LightWeightInstanceStaticMeshManager.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetLifetimeReplicatedProps
(
TArray< FLifetimeProperty >& OutLifetimeProps |
Data and replication functions | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual void PostLoad() |
GameFramework/LightWeightInstanceStaticMeshManager.h |
Overridden from IActorInstanceManagerInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 ConvertCollisionIndexToInstanceIndex
(
int32 InIndex, |
Returns the index used internally by the actor instance manager that is associated with the instance referred to by InIndex used by collision and rendering | GameFramework/LightWeightInstanceStaticMeshManager.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddInstanceToRendering
(
int32 DataIndex |
GameFramework/LightWeightInstanceStaticMeshManager.h | ||
virtual void DuplicateLWIInstances
(
TArrayView< const int32 > DataIndices, |
GameFramework/LightWeightInstanceStaticMeshManager.h | ||
void GetLWIDataIndices
(
TArrayView< const FSMInstanceId > InstanceIds, |
GameFramework/LightWeightInstanceStaticMeshManager.h | ||
void OnRep_StaticMesh() |
GameFramework/LightWeightInstanceStaticMeshManager.h | ||
void OnStaticMeshSet() |
Called when we set the static mesh. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
void PostRemoveInstanceFromRendering() |
GameFramework/LightWeightInstanceStaticMeshManager.h | ||
void RemoveInstanceFromRendering
(
int32 DataIndex |
GameFramework/LightWeightInstanceStaticMeshManager.h | ||
virtual void SetInstancedStaticMeshParams() |
Sets the parameters on the instanced static mesh component | GameFramework/LightWeightInstanceStaticMeshManager.h |
Overridden from ALightWeightInstanceManager
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddNewInstanceAt
(
FLWIData* InitData, |
Adds a new instance at the specified index. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual int32 ConvertHandleIndexToInternalIndex
(
int32 HandleIndex |
GameFramework/LightWeightInstanceStaticMeshManager.h | ||
virtual int32 ConvertInternalIndexToHandleIndex
(
int32 InInternalIndex |
Helper functions for converting between our internal storage indices and the indices used by external bookkeeping. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual void OnRep_Transforms() |
GameFramework/LightWeightInstanceStaticMeshManager.h | ||
virtual void PostActorSpawn
(
const FActorInstanceHandle& Handle |
Called after spawning a new actor from a light weight instance. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual void RemoveInstance
(
int32 Index |
Removes the instance. | GameFramework/LightWeightInstanceStaticMeshManager.h |
Overridden from ISMInstanceManager
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanEditSMInstance
(
const FSMInstanceId& InstanceId |
Can the given static mesh instance be edited? | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual bool CanMoveSMInstance
(
const FSMInstanceId& InstanceId, |
Can the given static mesh instance be moved in the world? | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual bool DeleteSMInstances
(
TArrayView< const FSMInstanceId > InstanceIds |
Attempt to delete the given static mesh instances. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual bool DuplicateSMInstances
(
TArrayView< const FSMInstanceId > InstanceIds, |
Attempt to duplicate the given static mesh instances, retrieving the IDs of any new instances. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual FText GetSMInstanceDisplayName
(
const FSMInstanceId& InstanceId |
Get the display name of the given static mesh instance. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual FText GetSMInstanceTooltip
(
const FSMInstanceId& InstanceId |
Get the tooltip of the given static mesh instance. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual bool GetSMInstanceTransform
(
const FSMInstanceId& InstanceId, |
Attempt to get the transform of the given static mesh instance. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual void NotifySMInstanceMovementEnded
(
const FSMInstanceId& InstanceId |
Notify that the given static mesh instance is done being moved. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual void NotifySMInstanceMovementOngoing
(
const FSMInstanceId& InstanceId |
Notify that the given static mesh instance is currently being moved. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual void NotifySMInstanceMovementStarted
(
const FSMInstanceId& InstanceId |
Notify that the given static mesh instance is about to be moved. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual void NotifySMInstanceSelectionChanged
(
const FSMInstanceId& InstanceId, |
Notify that the given static mesh instance selection state has changed. | GameFramework/LightWeightInstanceStaticMeshManager.h | |
virtual bool SetSMInstanceTransform
(
const FSMInstanceId& InstanceId, |
Attempt to set the transform of the given static mesh instance. | GameFramework/LightWeightInstanceStaticMeshManager.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InstancedStaticMeshComponent_DEPRECATED | PRAGMA_DISABLE_DEPRECATION_WARNINGSTObjectPtr< class UHierarchicalInstancedStaticMeshComponent > | GameFramework/LightWeightInstanceStaticMeshManager.h |