Rebel Fork Framework
|
Packed node data. More...
#include <Urho3D/Utility/PackedSceneData.h>
Public Member Functions | |
PackedNodeData (Node *node) | |
Create from existing node. | |
Node * | SpawnExact (Scene *scene) const |
Spawn exact node in the scene. May fail. | |
Node * | SpawnCopy (Node *parent) const |
Spawn similar node at the parent. | |
unsigned | GetId () const |
Return node ID. | |
AttributeScopeHint | GetEffectiveScopeHint () const |
Private Attributes | |
unsigned | id_ {} |
unsigned | parentId_ {} |
unsigned | indexInParent_ {} |
ea::string | name_ |
VectorBuffer | data_ |
AttributeScopeHint | scopeHint_ {} |
Packed node data.
|
inline |
Return whether the node spawn would affect the entire scene. Used to correctly handle undo/redo of node creation.