#include <ComposableCameraEvaluationTree.h>
A node in the evaluation tree. Can be a leaf (camera), a reference leaf (another context's Director), or an inner (transition) node.
Public Attributes¶
| Return | Name | Description |
|---|---|---|
TVariant< FComposableCameraEvaluationTreeLeafNodeWrapper, FComposableCameraEvaluationTreeReferenceLeafNodeWrapper, FComposableCameraEvaluationTreeInnerNodeWrapper > |
Wrapper |
Wrapper¶
TVariant< FComposableCameraEvaluationTreeLeafNodeWrapper, FComposableCameraEvaluationTreeReferenceLeafNodeWrapper, FComposableCameraEvaluationTreeInnerNodeWrapper > Wrapper
Public Methods¶
| Return | Name | Description |
|---|---|---|
FComposableCameraPose |
Evaluate |
|
bool |
IsLeaf const |
Returns true if this is a leaf node (wraps a camera). |
bool |
IsReferenceLeaf const |
Returns true if this is a reference leaf node (wraps another context's Director). |
bool |
IsInner const |
Returns true if this is an inner node (wraps a transition). |
FComposableCameraEvaluationTreeLeafNodeWrapper & |
AsLeaf |
Access the leaf wrapper. Only valid when IsLeaf() is true. |
const FComposableCameraEvaluationTreeLeafNodeWrapper & |
AsLeaf const |
|
FComposableCameraEvaluationTreeReferenceLeafNodeWrapper & |
AsReferenceLeaf |
Access the reference leaf wrapper. Only valid when IsReferenceLeaf() is true. |
const FComposableCameraEvaluationTreeReferenceLeafNodeWrapper & |
AsReferenceLeaf const |
|
FComposableCameraEvaluationTreeInnerNodeWrapper & |
AsInner |
Access the inner wrapper. Only valid when IsInner() is true. |
const FComposableCameraEvaluationTreeInnerNodeWrapper & |
AsInner const |
Evaluate¶
FComposableCameraPose Evaluate(float DeltaTime)
IsLeaf¶
const
bool IsLeaf() const
Returns true if this is a leaf node (wraps a camera).
IsReferenceLeaf¶
const
bool IsReferenceLeaf() const
Returns true if this is a reference leaf node (wraps another context's Director).
IsInner¶
const
bool IsInner() const
Returns true if this is an inner node (wraps a transition).
AsLeaf¶
FComposableCameraEvaluationTreeLeafNodeWrapper & AsLeaf()
Access the leaf wrapper. Only valid when IsLeaf() is true.
AsLeaf¶
const
const FComposableCameraEvaluationTreeLeafNodeWrapper & AsLeaf() const
AsReferenceLeaf¶
FComposableCameraEvaluationTreeReferenceLeafNodeWrapper & AsReferenceLeaf()
Access the reference leaf wrapper. Only valid when IsReferenceLeaf() is true.
AsReferenceLeaf¶
const
const FComposableCameraEvaluationTreeReferenceLeafNodeWrapper & AsReferenceLeaf() const
AsInner¶
FComposableCameraEvaluationTreeInnerNodeWrapper & AsInner()
Access the inner wrapper. Only valid when IsInner() is true.
AsInner¶
const
const FComposableCameraEvaluationTreeInnerNodeWrapper & AsInner() const