Represent a skin for a Face in an Object3D.
public function begin(f:IPolygon, mc:MovieClip):VoidPrepare the Face drawing of the Object3D into a MovieClip.
This method can be called when the mb.sandy.view.IScreen#render(Array) is executed, depending of the type of the Skin that must be applyed to the Face. /p>
mc represent the MovieClip where the Face must be displayed. The
f represents the face which is calling the Skin. The skin can call all the public properties of the face
f | The face calling the skin method |
mc | The MovieClip |
public function end(f:IPolygon, mc:MovieClip):VoidFinish the Face drawing of the Object3D into a MovieClip.
This method can be called when the mb.sandy.view.IScreen#render(Array) is executed, depending of the type of the Skin that must be applyed to the Face. /p>
mc represent the MovieClip where the Face must be displayed. The
f represents the face which is calling the Skin. The skin can call all the public properties of the face
f | The face calling the skin method |
mc | The MovieClip |
public function setLightingEnable(bool:Boolean):VoidsetLightingEnable. Prepare the skin to use the world light or not. The default value is false.
bool | Boolean true is the skin use the light of the world, false if no. |
Void
public function getType(Void):SkinTypegetType, returns the type of the skin
Void |
The appropriate SkinType