Skip to content
Permalink
Browse files

[Particles] Remove ambiguities in data member order

  • Loading branch information
xen2 committed Dec 13, 2018
1 parent f6fdfa5 commit 053fb654b76e90672406778f9337fdcbb18adf00
Showing with 4 additions and 4 deletions.
  1. +4 −4 sources/engine/Xenko.Particles/ParticleTransform.cs
@@ -34,21 +34,21 @@ public class ParticleTransform
[Display("Scale offset")]
public Vector3 Scale { get; set; } = new Vector3(1, 1, 1);

[DataMember(5)]
[DataMember(6)]
[Display("Uniform Scale")]
public float ScaleUniform { get; set; } = 1f;

// Order of these members should be *after* the fields they control (own offset and inherited field)
[DataMember(10)]
public bool DisplayParticlePosition = false;

[DataMember(10)]
[DataMember(11)]
public bool DisplayParticleRotation = false;

[DataMember(10)]
[DataMember(12)]
public bool DisplayParticleScale = false;

[DataMember(10)]
[DataMember(13)]
public bool DisplayParticleScaleUniform = false;

[DataMemberIgnore]

0 comments on commit 053fb65

Please sign in to comment.
You can’t perform that action at this time.