new Sprite3D()public function Sprite3D(pScale:Number, pOffset:Number)A Sprite3D is in fact a special Sprite2D. A Sprite3D is batween a real Object3D and a Sprite2D. It has a skin which is a movie clip containing 360 frames (at least!). Depending on the camera position, the _currentframe of the Clip3D will change, to give a 3D effect.
pScale | Number A number used to change the scale of the displayed object. In case that the object projected dimension isn't adapted to your needs. Default value is 1.0 which means unchanged. A value of 2.0 will make the object twice bigger and so on. |
pOffset | Number A number between [0-360] to give an offset in the 3D representation. |
public function setSkin(s:MovieSkin):BooleanSet a Skin to the Object3D.
This method will set the the new Skin to all his faces.
s | The TexstureSkin to apply to the object |
Boolean True is the skin is applied, false otherwise.
public function render(Void):VoidRender the Sprite3D.
Check Faces display visibility and store visible Faces into ZBuffer.
render() in sandy.core.group.INode