Rebel Fork Framework
Urho3D::SerializablePrefab Class Reference

#include <Urho3D/Scene/NodePrefab.h>

Public Member Functions

void SetType (const ea::string &typeName)
 
void SetType (const char *typeName)
 
void SetType (StringHash typeNameHash)
 
void SetId (SerializableId id)
 
void Import (const Serializable *serializable, PrefabSaveFlags flags={})
 
void Export (Serializable *serializable, PrefabLoadFlags flags={}) const
 
void SerializeInBlock (Archive &archive, PrefabArchiveFlags flags={}, bool compactSave=false)
 
AttributeScopeHint GetEffectiveScopeHint (Context *context) const
 
const ea::string & GetTypeName () const
 
StringHash GetTypeNameHash () const
 
SerializableId GetId () const
 
const ea::vector< AttributePrefab > & GetAttributes () const
 
ea::vector< AttributePrefab > & GetMutableAttributes ()
 
bool operator== (const SerializablePrefab &rhs) const
 
bool operator!= (const SerializablePrefab &rhs) const
 

Private Attributes

ea::string typeName_
 
StringHash typeNameHash_
 
SerializableId id_ {}
 
bool temporary_ {}
 
ea::vector< AttributePrefabattributes_
 

Detailed Description

Serializable prefab. Contains a list of attributes.


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