Пример #1
0
 static public VFXExpression ConvertSpace(VFXExpression input, VFXSlot targetSlot, VFXCoordinateSpace space)
 {
     if (targetSlot.spaceable)
     {
         if (targetSlot.space != space)
         {
             var spaceType = targetSlot.GetSpaceTransformationType();
             input = ConvertSpace(input, spaceType, space);
         }
     }
     return(input);
 }