Exemple #1
0
 public RwAtomicNode(RwNode parent, int frameIndex, int geometryIndex, int flag1 = 0, int flag2 = 0)
     : base(RwNodeId.RwAtomicNode, parent)
 {
     mStructNode    = new RwAtomicStructNode(frameIndex, geometryIndex, flag1, flag2, this);
     mExtensionNode = new RwExtensionNode(this);
 }
Exemple #2
0
 /// <summary>
 /// Initializer only to be called in <see cref="RwNodeFactory"/>.
 /// </summary>
 internal RwAtomicNode(RwNodeFactory.RwNodeHeader header, BinaryReader reader)
     : base(header)
 {
     mStructNode    = RwNodeFactory.GetNode <RwAtomicStructNode>(this, reader);
     mExtensionNode = RwNodeFactory.GetNode <RwExtensionNode>(this, reader);
 }
Exemple #3
0
 /// <summary>
 /// Initialize a new empty <see cref="RwAtomicNode"/> instance.
 /// </summary>
 public RwAtomicNode()
     : base(RwNodeId.RwAtomicNode)
 {
     mStructNode    = new RwAtomicStructNode(0, 0, 0, 0, this);
     mExtensionNode = new RwExtensionNode(this);
 }