FInstanceStack

Choose your operating system:

Windows

macOS

Linux

References

Module

AnimationSharing

Header

/Engine/Plugins/Developer/AnimationSharing/Source/AnimationSharing/Public/AnimationSharingManager.h

Include

#include "AnimationSharingManager.h"

Syntax

template<typename InstanceType>
struct FInstanceStack

Variables

Name Description

Public variable

TArray< Instanc...

 

AvailableInstances

Public variable

TArray< Instanc...

 

InUseInstances

Destructors

Name Description

Public function

~FInstanceStack()

Functions

Name Description

Public function

void

 

AddInstance

(
    InstanceType* Instance
)

Add a new instance to the 'stack'

Public function

void

 

FreeInstance

(
    InstanceType* Instance
)

Return instance back

Public function

InstanceType...

 

GetInstance()

Get an available instance

Public function Const

bool

 

InstanceAvailable()

Return whether instance are available