Tanoda
|
Public Member Functions | |
pb_SceneNode () | |
pb_SceneNode (SerializationInfo info, StreamingContext context) | |
void | GetObjectData (SerializationInfo info, StreamingContext context) |
pb_SceneNode (GameObject root) | |
GameObject | ToGameObject () |
Static Public Member Functions | |
static | operator GameObject (pb_SceneNode node) |
Public Attributes | |
string | name |
string | hash |
string | rename |
pb_Transform | transform |
Vector3 | localPos |
object | convex |
object | trigger |
ChangedTextureHolder | changedTexture |
List< pb_SceneNode > | children |
pb_MetaData | metadata |
List< pb_ISerializable > | components |
Represents a GameObject in a scene. GameObjects and components are not implemented as JsonConverters because of the way they're reconstructed when deserializing - if they were converters it would require serializing the parents and children as properties which would be messy when rebuilding.
Definition at line 17 of file pb_SceneNode.cs.
GILES.Serialization.pb_SceneNode.pb_SceneNode | ( | ) |
Parameterless constructor. Use only for deserialization.
Definition at line 37 of file pb_SceneNode.cs.
GILES.Serialization.pb_SceneNode.pb_SceneNode | ( | SerializationInfo | info, |
StreamingContext | context | ||
) |
Deserialization constructor.
Definition at line 42 of file pb_SceneNode.cs.
GILES.Serialization.pb_SceneNode.pb_SceneNode | ( | GameObject | root | ) |
Recursively build a scene graph using root
as the root node.
Definition at line 239 of file pb_SceneNode.cs.
void GILES.Serialization.pb_SceneNode.GetObjectData | ( | SerializationInfo | info, |
StreamingContext | context | ||
) |
Serialize object data.
Definition at line 97 of file pb_SceneNode.cs.
|
explicitstatic |
Definition at line 366 of file pb_SceneNode.cs.
GameObject GILES.Serialization.pb_SceneNode.ToGameObject | ( | ) |
Convert this node into a GameObject.
Definition at line 324 of file pb_SceneNode.cs.
ChangedTextureHolder GILES.Serialization.pb_SceneNode.changedTexture |
Definition at line 26 of file pb_SceneNode.cs.
List<pb_SceneNode> GILES.Serialization.pb_SceneNode.children |
Definition at line 27 of file pb_SceneNode.cs.
List<pb_ISerializable> GILES.Serialization.pb_SceneNode.components |
Definition at line 30 of file pb_SceneNode.cs.
object GILES.Serialization.pb_SceneNode.convex |
Definition at line 24 of file pb_SceneNode.cs.
string GILES.Serialization.pb_SceneNode.hash |
Definition at line 20 of file pb_SceneNode.cs.
Vector3 GILES.Serialization.pb_SceneNode.localPos |
Definition at line 23 of file pb_SceneNode.cs.
pb_MetaData GILES.Serialization.pb_SceneNode.metadata |
Definition at line 29 of file pb_SceneNode.cs.
string GILES.Serialization.pb_SceneNode.name |
Definition at line 19 of file pb_SceneNode.cs.
string GILES.Serialization.pb_SceneNode.rename |
Definition at line 21 of file pb_SceneNode.cs.
pb_Transform GILES.Serialization.pb_SceneNode.transform |
Definition at line 22 of file pb_SceneNode.cs.
object GILES.Serialization.pb_SceneNode.trigger |
Definition at line 25 of file pb_SceneNode.cs.