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

            value.length = 1f;
            value.mode   = new ParticleEmissionMode();

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