Rebel Fork Framework
Urho3D::PackedNodeData Class Reference

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_ {}
 

Detailed Description

Packed node data.

Member Function Documentation

◆ GetEffectiveScopeHint()

AttributeScopeHint Urho3D::PackedNodeData::GetEffectiveScopeHint ( ) const
inline

Return whether the node spawn would affect the entire scene. Used to correctly handle undo/redo of node creation.


The documentation for this class was generated from the following files: