public static void EmitPivotSO(SceneSerializer s, IOutputStream o, PivotSO so) { o.AddAttribute(IOStrings.ASOName, so.Name); o.AddAttribute(IOStrings.ASOUuid, so.UUID); s.EmitTransform(o, so); s.EmitMaterial(o, so.GetAssignedSOMaterial()); }
public static void Emit(this SceneSerializer s, IOutputStream o, PivotSO so) { o.AddAttribute(IOStrings.ASOType, IOStrings.TypePivot); o.AddAttribute(IOStrings.ASOName, so.Name); s.EmitTransform(o, so); s.EmitMaterial(o, so.GetAssignedSOMaterial()); }