public ParticleEmitter CreateBoxEmitter(Box3D box, Vector3D direction, uint minPPS, uint maxPPS, Color minSC, Color maxSC, uint minLT, uint maxLT, int maxAngleDegrees)
 {
     return (ParticleEmitter)
         NativeElement.GetObject(Particle_CreateBoxEmitter(_raw, box.ToUnmanaged(), direction.ToUnmanaged(), minPPS, maxPPS, minSC.ToUnmanaged(), maxSC.ToUnmanaged(), minLT, maxLT, maxAngleDegrees),
                                 typeof(ParticleEmitter));
 }
示例#2
0
 public void Draw3DBox(Box3D box, Color color)
 {
     VideoDriver_Draw3DBox(_raw, box.ToUnmanaged(), color.ToUnmanaged());
 }