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

            value.radius    = 1f;
            value.thickness = 0f;
            value.arc       = new Degree();
            value.mode      = new ParticleEmissionMode();

            return(value);
        }
 private static extern void Internal_create(ParticleEmitterCircleShape managedInstance, ref ParticleCircleShapeOptions desc);
 private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleCircleShapeOptions options);
 private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleCircleShapeOptions __output);
 /// <summary>Creates a new particle emitter circle shape.</summary>
 public ParticleEmitterCircleShape(ParticleCircleShapeOptions desc)
 {
     Internal_create(this, ref desc);
 }