Packagesandy.materials.attributes
Classpublic class CylinderEnvMap
InheritanceCylinderEnvMap Inheritance AAttributes

Applies cylindric environment map.



Public Properties
 PropertyDefined by
 Inheritedflags : uint
Returns the specific flags of this attribute.
AAttributes
  mapMaterial : BitmapMaterial
A bitmap-based material to use for environment map.
CylinderEnvMap
  spherize : Number = 0
Non-zero value adds sphere normals to actual normals for mapping.
CylinderEnvMap
Public Methods
 MethodDefined by
  
CylinderEnvMap(p_oBitmapMaterial:BitmapMaterial)
Create the CylinderEnvMap object.
CylinderEnvMap
 Inherited
begin(p_oScene:Scene3D):void
Method called before the display list rendering.
AAttributes
 Inherited
draw(p_oGraphics:Graphics, p_oPolygon:Polygon, p_oMaterial:Material, p_oScene:Scene3D):void
Draws attribute to the graphics object.
AAttributes
 Inherited
drawOnSprite(p_oSprite:Sprite2D, p_oMaterial:Material, p_oScene:Scene3D):void
Applies attribute to a sprite.
AAttributes
 Inherited
finish(p_oScene:Scene3D):void
Method called right after the display list rendering.
AAttributes
 Inherited
init(p_oPolygon:Polygon):void
Allows to proceed to an initialization to know when the polyon isn't lined to the material.
AAttributes
 Inherited
unlink(p_oPolygon:Polygon):void
Remove all the initialization (opposite of init).
AAttributes
Property detail
mapMaterialproperty
public var mapMaterial:BitmapMaterial

A bitmap-based material to use for environment map.

spherizeproperty 
public var spherize:Number = 0

Non-zero value adds sphere normals to actual normals for mapping. Use this with flat surfaces or cylinders.

Constructor detail
CylinderEnvMap()constructor
public function CylinderEnvMap(p_oBitmapMaterial:BitmapMaterial)

Create the CylinderEnvMap object.

Parameters
p_oBitmapMaterial:BitmapMaterial — A bitmap-based material to use for environment map.