/// <summary>Initializes the struct with default values.</summary>
        public static ParticleSizeOptions Default()
        {
            ParticleSizeOptions value = new ParticleSizeOptions();

            value.size      = new FloatDistribution(1f);
            value.size3D    = null;
            value.use3DSize = false;

            return(value);
        }
示例#2
0
 private static extern void Internal_create(ParticleSize managedInstance, ref ParticleSizeOptions desc);
示例#3
0
 private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleSizeOptions __output);
示例#4
0
 private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleSizeOptions options);
示例#5
0
 /// <summary>Creates a new particle size evolver.</summary>
 public ParticleSize(ParticleSizeOptions desc)
 {
     Internal_create(this, ref desc);
 }