FSO.LotView.World.InvalidateRotation C# (CSharp) Method

InvalidateRotation() public method

public InvalidateRotation ( ) : void
return void
        public void InvalidateRotation()
        {
            if (Blueprint == null) { return; }

            foreach (var item in Blueprint.Objects)
            {
                item.OnRotationChanged(State);
            }
            Blueprint.Damage.Add(new BlueprintDamage(BlueprintDamageType.ROTATE));
        }

Usage Example

Ejemplo n.º 1
0
 protected void InvalidateRotation()
 {
     WorldSpace.Invalidate();
     InvalidateCamera();
     World.InvalidateRotation();
 }