| Package | sandy.materials.attributes |
| Class | public final class CelShadeAttributes |
| Inheritance | CelShadeAttributes ALightAttributes |
| Property | Defined by | ||
|---|---|---|---|
![]() | ambient : Number
Ambient reflection factor.
| ALightAttributes | |
![]() | diffuse : Number
Diffuse reflection factor.
| ALightAttributes | |
![]() | flags : uint
Flags for the attribute.
| ALightAttributes | |
![]() | gloss : Number
Specular exponent.
| ALightAttributes | |
| lightmap : PhongAttributesLightMap
Used if a lightmap needs to be overridden.
| CelShadeAttributes | ||
![]() | specular : Number
Specular reflection factor.
| ALightAttributes | |
| spherize : Number = 0
Non-zero value adds sphere normals to actual normals for light rendering.
| CelShadeAttributes | ||
| Method | Defined by | ||
|---|---|---|---|
|
CelShadeAttributes(p_oLightMap:PhongAttributesLightMap = null)
Create the CelShadeAttributes object.
| CelShadeAttributes | ||
![]() |
Draws light on shape.
| ALightAttributes | |
![]() |
Draws light on sprite.
| ALightAttributes | |
| lightmap | property |
public var lightmap:PhongAttributesLightMapUsed if a lightmap needs to be overridden.
| spherize | property |
public var spherize:Number = 0Non-zero value adds sphere normals to actual normals for light rendering. Use this with flat surfaces or cylinders.
| CelShadeAttributes | () | constructor |
public function CelShadeAttributes(p_oLightMap:PhongAttributesLightMap = null)Create the CelShadeAttributes object.
Parametersp_oLightMap:PhongAttributesLightMap (default = null) — A lightmap that the object will use (default map has four shades of gray).
|
See also