topical media & game development

talk show tell print

student-ar-org-papervision3d-core-culling-DefaultParticleCuller.ax

student-ar-org-papervision3d-core-culling-DefaultParticleCuller.ax [swf] [flash] flex


  package org.papervision3d.core.culling
  {
          import org.papervision3d.core.geom.renderables.Particle;
  
          public class @ax-student-ar-org-papervision3d-core-culling-DefaultParticleCuller implements IParticleCuller
          {
                  
                  public function @ax-student-ar-org-papervision3d-core-culling-DefaultParticleCuller()
                  {
                          
                  }
                  
                  public function testParticle(particle:Particle):Boolean
                  {
                          if(particle.material.invisible == false){
                                  if(particle.vertex3D.vertex3DInstance.visible == true){
                                          return true;
                                  }
                          }
                          return false;
                  }
                  
          }
  }


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.