Navigation
API > API/Plugins > API/Plugins/AnimNext > API/Plugins/AnimNext/Param
References
| Module | AnimNext |
| Header | /Engine/Plugins/Experimental/AnimNext/Source/AnimNext/Public/Param/ParamStack.h |
| Include | #include "Param/ParamStack.h" |
Syntax
struct FParamStack
Remarks
Stack of parameter layers. Acts as an associative container - allows retrieval of parameter values (by ID) that have been pushed onto the stack in 'layers'. Parameter values (and notably types) on higher stack layers override those on lower layers. Older values and types are restored when a layer is popped. Parameter values, once pushed, can be overridden by subsequent layers, but they cannot be removed until the layer that initially introduces the parameter is popped.
Constructors
No constructors are accessible with public or protected access.
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FParamStack () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FParamStack & | Get () |
Get the param stack for this thread. | |
| ValueType & | GetMutableParam
(
FParamId InParamId, |
Get a mutable reference to the value of a parameter given a FParamId. | |
| ValueType & | GetMutableParam
(
FName InKey, |
Get a mutable reference to the value of a parameter given a FName. | |
| FParamResult | GetMutableParamData
(
FParamId InId, |
||
| FParamResult | GetMutableParamData
(
FParamId InId, |
Get a parameter's mutable data given an FParamId. | |
| ValueType * | GetMutableParamPtr
(
FName InKey, |
Get a pointer to a parameter's mutable value given a FName. | |
| ValueType * | GetMutableParamPtr
(
FParamId InParamId, |
Get a pointer to a parameter's mutable value given a FParamId. | |
| const ValueType & | GetParam
(
FName InKey, |
Get a const reference to the value of a parameter given a FName. | |
| const ValueType & | GetParam
(
FParamId InParamId, |
Get a const reference to the value of a parameter given a FParamId. | |
| FParamResult | GetParamData
(
FParamId InId, |
Get a parameter's data given an FParamId. | |
| FParamResult | GetParamData
(
FParamId InId, |
||
| const ValueType * | GetParamPtr
(
FName InKey, |
Get a pointer to a parameter's value given a FName. | |
| const ValueType * | GetParamPtr
(
FParamId InParamId, |
Get a pointer to a parameter's value given a FParamId. | |
| ValueType | GetParamValue
(
FParamId InParamId, |
Get the value of a parameter given a FParamId. | |
| ValueType | GetParamValue
(
FName InKey, |
Get the value of a parameter given a FName. | |
| FParamStackLayerHandle | MakeReferenceLayer
(
FInstancedPropertyBag& InInstancedPropertyBag |
Create a cached parameter layer from an instanced property bag. This layer will reference the supplied property bag and does not transfer ownership. | |
| FParamStackLayerHandle | MakeRemappedLayer
(
const FParamStackLayerHandle& InLayer, |
Create a cached parameter layer by remapping the entries from another layer Original layer continues to own the memory | |
| FParamStackLayerHandle | MakeValueLayer
(
FName InName, |
Make a parameter layer from a value | |
| FParamStackLayerHandle | MakeValueLayer
(
FParamId InParamId, |
Make a parameter layer from a value | |
| FParamStackLayerHandle | MakeValueLayer
(
const FInstancedPropertyBag& InInstancedPropertyBag |
Create a cached parameter layer from an instanced property bag. This layer will own a copy of the property bag used to represent the layer. | |
| FParamStackLayerHandle | MakeValuesLayer
(
Args&&... InValues |
Make a parameter layer from an interleaved parameter list of keys and values | |
| void | PopLayer
(
FPushedLayerHandle InLayer |
Pop a parameter layer. | |
| FPushedLayerHandle | PushLayer
(
const FParamStackLayerHandle& InLayerHandle |
Push a layer. | |
| FPushedLayerHandle | Push a value as a parameter layer | ||
| FPushedLayerHandle | Push a value as a parameter layer | ||
| FPushedLayerHandle | PushValues
(
Args&&... InValues |
Push an interleaved parameter list of keys and values as a parameter layer |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FPushedLayerHandle | Opaque handle to a layer on the stack. | ||
| TLayerBuilder | Builder struct to help build combined layers of parameters. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ECoalesce | Behavior flag for coalescing parent stacks on thread attachment. | ||
| EDecoalesce | Behavior flag for de-coalescing parent stacks on thread detachment. |
Typedefs
| Name | Description |
|---|---|
| FLayerBuilder |