Package | away3d.core.light |
Class | public class PointLight |
Inheritance | PointLight LightPrimitive |
Property | Defined by | ||
---|---|---|---|
ambient : Number
Coefficient for the ambient light intensity.
| LightPrimitive | ||
ambientBitmap : BitmapData
Lightmap for ambient intensity.
| LightPrimitive | ||
ambientDiffuseBitmap : BitmapData
Combined lightmap for ambient and diffuse intensities.
| LightPrimitive | ||
blue : Number
Blue component level.
| LightPrimitive | ||
diffuse : Number
Coefficient for the diffuse light intensity.
| LightPrimitive | ||
diffuseBitmap : BitmapData
Lightmap for diffuse intensity.
| LightPrimitive | ||
fallOff : Number
falloff radius of the light.
| LightPrimitive | ||
green : Number
Green component level.
| LightPrimitive | ||
light : AbstractLight
A reference to the
ILightProvider object used by the light primitive. | LightPrimitive | ||
position : Number3D | PointLight | ||
radius : Number
radius of the light.
| LightPrimitive | ||
red : Number
Red component level.
| LightPrimitive | ||
specular : Number
Coefficient for the specular light intensity.
| LightPrimitive | ||
specularBitmap : BitmapData
Lightmap for specular intensity.
| LightPrimitive | ||
viewPositions : Dictionary
Positions dictionary for the view positions used by shading materials.
| PointLight |
Method | Defined by | ||
---|---|---|---|
clearViewPositions():void
Clears the position dictionaries used in the shading materials.
| PointLight | ||
Updates the position of the point light.
| PointLight | ||
Updates the view position.
| PointLight |
position | property |
public var position:Number3D
viewPositions | property |
public var viewPositions:Dictionary
Positions dictionary for the view positions used by shading materials.
clearViewPositions | () | method |
public function clearViewPositions():void
Clears the position dictionaries used in the shading materials.
setPosition | () | method |
public function setPosition(scenePosition:Number3D):void
Updates the position of the point light.
ParametersscenePosition:Number3D |
setViewPosition | () | method |