Rebel Fork Framework
|
Packed component data. More...
#include <Urho3D/Utility/PackedSceneData.h>
Public Member Functions | |
PackedComponentData (Component *component) | |
Create from existing component. | |
Component * | SpawnExact (Scene *scene) const |
Spawn exact component in the scene. May fail. | |
Component * | SpawnCopy (Node *node) const |
Spawn similar component at the node. May fail only if component type is unknown. | |
void | Update (Component *component) const |
Update attributes of existing component. | |
unsigned | GetId () const |
Return component ID. | |
StringHash | GetType () const |
Private Attributes | |
unsigned | id_ {} |
unsigned | nodeId_ {} |
unsigned | indexInParent_ {} |
StringHash | type_ |
VectorBuffer | data_ |
Packed component data.