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

            value.type    = ParticleEmitterBoxType.Volume;
            value.extents = new Vector3();

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