Exemple #1
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;
     }
     _isDirty = true;
     NodesManager.AddNodeToUpdateQueue(this);
 }
Exemple #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;
 }