예제 #1
0
파일: Node.cs 프로젝트: raizam/GeonBit
 /// <summary>
 /// Called when local transformations are set, eg when Position, Rotation, Scale etc. is changed.
 /// We use this to set this node as "dirty", eg that we need to update local transformations.
 /// </summary>
 protected virtual void OnTransformationsSet()
 {
     if (UseExternalTransformations)
     {
         return;
     }
     _isDirty = true;
     NodesManager.AddNodeToUpdateQueue(this);
 }
예제 #2
0
 /// <summary>
 /// Called when local transformations are set, eg when Position, Rotation, Scale etc. is changed.
 /// We use this to set this node as "dirty", eg that we need to update local transformations.
 /// </summary>
 protected virtual void OnTransformationsSet()
 {
     if (UseExternalTransformations)
     {
         return;
     }
     Utils.CountAndAlert.Count(Utils.CountAndAlert.PredefAlertTypes.ValueChanged);
     NodesManager.AddNodeToUpdateQueue(this);
     _isDirty = true;
 }