コード例 #1
0
        /// <summary>Initializes the struct with default values.</summary>
        public static ParticleGravityOptions Default()
        {
            ParticleGravityOptions value = new ParticleGravityOptions();

            value.scale = 1f;

            return(value);
        }
コード例 #2
0
 private static extern void Internal_create(ParticleGravity managedInstance, ref ParticleGravityOptions desc);
コード例 #3
0
 private static extern void Internal_getOptions(IntPtr thisPtr, out ParticleGravityOptions __output);
コード例 #4
0
 private static extern void Internal_setOptions(IntPtr thisPtr, ref ParticleGravityOptions options);
コード例 #5
0
 /// <summary>Creates a new particle gravity evolver.</summary>
 public ParticleGravity(ParticleGravityOptions desc)
 {
     Internal_create(this, ref desc);
 }