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