public override void ResetToDefaultParameters() { Name = ""; LocalToParent = new GrimMat4x3(); Parent = 0; Type = 0; MeshEntity = null; }
public GrimModelNode(string name, GrimMat4x3 localToParent, Int32 parent, Int32 type, GrimModelMeshEntity meshEntity) { Name = name; LocalToParent = localToParent; Parent = parent; Type = type; MeshEntity = meshEntity; }
protected override void DoRead(System.IO.BinaryReader reader) { Name = ReadString(reader); LocalToParent = new GrimMat4x3(reader); Parent = reader.ReadInt32(); Type = reader.ReadInt32(); if (Type == 0) { MeshEntity = new GrimModelMeshEntity(reader); } }