Exemple #1
0
            public SetRenderProperties(SpriteBatchPropertiesPacket packet
                                       , bool ignoreDefaults = true
                                       , bool applyMatrix    = false)
            {
                Packet         = packet;
                IgnoreDefaults = ignoreDefaults;
                ApplyMatrix    = applyMatrix;

                ActionType = RenderOrderActionType.SetRenderProperties;
            }
            public SetRenderProperties( SpriteBatchPropertiesPacket packet
                                      , bool ignoreDefaults = true
                                      , bool applyMatrix = false )
            {
                Packet = packet;
                IgnoreDefaults = ignoreDefaults;
                ApplyMatrix = applyMatrix;

                ActionType = RenderOrderActionType.SetRenderProperties;
            }
 /// <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));
 }
Exemple #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));
 }