Пример #1
0
            public SetRenderProperties(SpriteBatchPropertiesPacket packet
                                       , bool ignoreDefaults = true
                                       , bool applyMatrix    = false)
            {
                Packet         = packet;
                IgnoreDefaults = ignoreDefaults;
                ApplyMatrix    = applyMatrix;

                ActionType = RenderOrderActionType.SetRenderProperties;
            }
Пример #2
0
            public SetRenderProperties( SpriteBatchPropertiesPacket packet
                                      , bool ignoreDefaults = true
                                      , bool applyMatrix = false )
            {
                Packet = packet;
                IgnoreDefaults = ignoreDefaults;
                ApplyMatrix = applyMatrix;

                ActionType = RenderOrderActionType.SetRenderProperties;
            }
Пример #3
0
 /// <summary>
 /// Set the next render order action to set the render properties to the values
 /// in the given packet.
 /// </summary>
 /// <param name="packet"></param>
 /// <param name="ignoreDefaults"></param>
 /// <param name="applyMatrix"></param>
 public void AddSetRenderProperties( SpriteBatchPropertiesPacket packet
                                , bool ignoreDefaults = true
                                , bool applyMatrix = false )
 {
     Actions.Add(new SetRenderProperties(packet, ignoreDefaults, applyMatrix));
 }
Пример #4
0
 /// <summary>
 /// Set the next render order action to set the render properties to the values
 /// in the given packet.
 /// </summary>
 /// <param name="packet"></param>
 /// <param name="ignoreDefaults"></param>
 /// <param name="applyMatrix"></param>
 public void AddSetRenderProperties(SpriteBatchPropertiesPacket packet
                                    , bool ignoreDefaults = true
                                    , bool applyMatrix    = false)
 {
     Actions.Add(new SetRenderProperties(packet, ignoreDefaults, applyMatrix));
 }