Esempio n. 1
0
 public override bool Equals(object other)
 {
     if (other is ObjectNodeReference)
     {
         ObjectNodeReference p = (ObjectNodeReference)other;
         return(Index == p.Index);
     }
     else
     {
         return(false);
     }
 }
Esempio n. 2
0
 public ObjectNode GetObjectNode(ObjectNodeReference reference)
 {
     return(objectNodes[reference.Index]);
 }
Esempio n. 3
0
 public ref   T this[ObjectNodeReference index] => ref Data[index.Index];
Esempio n. 4
0
 public EffectObjectNode(RenderEffect renderEffect, ObjectNodeReference objectNode) : this()
 {
     RenderEffect = renderEffect;
     ObjectNode   = objectNode;
 }