예제 #1
0
        /// <summary>Initializes the struct with default values.</summary>
        public static ParticleTextureAnimationOptions Default()
        {
            ParticleTextureAnimationOptions value = new ParticleTextureAnimationOptions();

            value.randomizeRow = false;
            value.numCycles    = 1;

            return(value);
        }
 private static extern void Internal_create(ParticleTextureAnimation managedInstance, ref ParticleTextureAnimationOptions desc);
 private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleTextureAnimationOptions options);
 private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleTextureAnimationOptions __output);
 /// <summary>Creates a new particle texture animation evolver.</summary>
 public ParticleTextureAnimation(ParticleTextureAnimationOptions desc)
 {
     Internal_create(this, ref desc);
 }