| Package | sandy.materials |
| Class | public class Appearance |
The appearance holds the front and back materials of the object
| Property | Defined by | ||
|---|---|---|---|
| backMaterial : Material
The back material held by this appearance
| Appearance | ||
| frontMaterial : Material
The front material held by this appearance
| Appearance | ||
| useVertexNormal : Boolean [read-only]
Get the use of vertex normal feature of the appearance
true ONLY ONE of the materials is using this feature | Appearance | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates an appearance with front and back materials.
| Appearance | ||
|
toString():String
Returns a string representation of this object.
| Appearance | ||
| backMaterial | property |
backMaterial:Material [read-write]The back material held by this appearance
Implementation public function get backMaterial():Material
public function set backMaterial(value:Material):void
| frontMaterial | property |
frontMaterial:Material [read-write]The front material held by this appearance
Implementation public function get frontMaterial():Material
public function set frontMaterial(value:Material):void
| useVertexNormal | property |
useVertexNormal:Boolean [read-only]Get the use of vertex normal feature of the appearance
true ONLY ONE of the materials is using this feature
Implementation public function get useVertexNormal():Boolean
| Appearance | () | constructor |
public function Appearance(p_oFront:Material = null, p_oBack:Material = null)Creates an appearance with front and back materials.
If no material is passed, the default material for back and front is a default ColorMaterial.
If only a front material is passed, it will be used as back material as well.
p_oFront:Material (default = null) — The front material
|
|
p_oBack:Material (default = null) — The back material
|
| toString | () | method |
public function toString():StringReturns a string representation of this object.
ReturnsString — The fully qualified name of this object
|