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

            value.radius    = 1f;
            value.thickness = 0f;

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