Package | away3dlite.materials |
Class | public class MovieMaterial |
Inheritance | MovieMaterial BitmapMaterial Material flash.events.EventDispatcher |
Property | Defined by | ||
---|---|---|---|
autoUpdate : Boolean
Indicates whether the texture bitmap is updated on every frame
| MovieMaterial | ||
bitmap : BitmapData
Defines the bitmapData object to be used as the material's texture.
| BitmapMaterial | ||
debug : Boolean
Switches on the debug outlines around each face drawn with the material.
| Material | ||
height : int
Returns the height of the material's bitmapdata object.
| BitmapMaterial | ||
movie : Sprite
Defines the movieclip used for rendering the material
| MovieMaterial | ||
rect : Rectangle
Defines the rectangle of the movie to be rendered into the texture bitmap.
| MovieMaterial | ||
repeat : Boolean
Defines whether repeat is used when drawing the material.
| BitmapMaterial | ||
smooth : Boolean
Defines whether smoothing is used when drawing the material.
| BitmapMaterial | ||
transparent : Boolean
Defines the transparent property of the texture bitmap created from the movie
| MovieMaterial | ||
width : int
Returns the width of the material's bitmapdata object.
| BitmapMaterial |
Method | Defined by | ||
---|---|---|---|
MovieMaterial
(movie:Sprite, rect:Rectangle = null, autoUpdate:Boolean = true, transparent:Boolean = true) | MovieMaterial | ||
update():void
Manually updates the texture bitmap with the current frame of the
movie display object. | MovieMaterial |
autoUpdate | property |
public var autoUpdate:Boolean
Indicates whether the texture bitmap is updated on every frame
movie | property |
movie:Sprite
[read-write]Defines the movieclip used for rendering the material
Implementation public function get movie():Sprite
public function set movie(value:Sprite):void
rect | property |
rect:Rectangle
[read-write]Defines the rectangle of the movie to be rendered into the texture bitmap.
Implementation public function get rect():Rectangle
public function set rect(value:Rectangle):void
See also
transparent | property |
transparent:Boolean
[read-write]Defines the transparent property of the texture bitmap created from the movie
Implementation public function get transparent():Boolean
public function set transparent(value:Boolean):void
See also
MovieMaterial | () | constructor |
public function MovieMaterial(movie:Sprite, rect:Rectangle = null, autoUpdate:Boolean = true, transparent:Boolean = true)
Parameters
movie:Sprite |
|
rect:Rectangle (default = null )
|
|
autoUpdate:Boolean (default = true )
|
|
transparent:Boolean (default = true )
|
update | () | method |
public function update():void
Manually updates the texture bitmap with the current frame of the movie
display object.
Automatically triggered unless autoUpdate
is set to false.
See also