| 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 | ||
| flags : uint [read-only]
Returns the flags for the front and back materials.
| 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.
| 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
| flags | property |
flags:uint [read-only]Returns the flags for the front and back materials.
Implementation public function get flags():uint
See also
| 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.
Note: 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
|
See also
| toString | () | method |
public function toString():StringReturns a string representation of this object.
ReturnsString — The fully qualified name of this object.
|