コード例 #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);
        }
コード例 #2
0
 private static extern void Internal_create(ParticleEmitterSphereShape managedInstance, ref ParticleSphereShapeOptions desc);
コード例 #3
0
 private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleSphereShapeOptions __output);
コード例 #4
0
 private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleSphereShapeOptions options);
コード例 #5
0
 /// <summary>Creates a new particle emitter sphere shape.</summary>
 public ParticleEmitterSphereShape(ParticleSphereShapeOptions desc)
 {
     Internal_create(this, ref desc);
 }