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

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

            return(value);
        }
예제 #2
0
 private static extern void Internal_create(ParticleEmitterHemisphereShape managedInstance, ref ParticleHemisphereShapeOptions desc);
예제 #3
0
 private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleHemisphereShapeOptions __output);
예제 #4
0
 private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleHemisphereShapeOptions options);
예제 #5
0
 /// <summary>Creates a new particle emitter sphere shape.</summary>
 public ParticleEmitterHemisphereShape(ParticleHemisphereShapeOptions desc)
 {
     Internal_create(this, ref desc);
 }