VideoTexture Code Problem

Software: Away3D 4.x

Lucid, Member
Posted: 27 February 2012 08:05 AM   Total Posts: 93

The VideoTexture class has the following:

public function set materialHeight(value : uint) : void {
_materialHeight = validateMaterialSize( value );
_player.width = _materialHeight;
_clippingRect.width = _materialHeight;}

————-

Above, _player.width and _clippingRect.width are both set to the _materialHeight property? Should this not be _materialWidth?

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X