CubeReflectionTexture provides a cube map texture for real-time reflections, used for any method that uses environment maps, such as EnvMapMethod.

See also:

  • away3d.materials.methods.EnvMapMethod

Constructor

new(size:Int)

Creates a new CubeReflectionTexture object

Parameters:

size

The size of the cube texture

Variables

Methods

dispose():Void

@inheritDoc

getTextureForStage3D(stage3DProxy:Stage3DProxy):TextureBase

@inheritDoc

render(view:View3D):Void

Renders the scene in the given view for reflections.

Parameters:

view

The view containing the scene to render.

Inherited Variables

Defined by CubeTextureBase

read onlysize:Int

Defined by TextureProxyBase

read onlyassetType:String

read onlyformat:Context3DTextureFormat

read onlyhasMipMaps:Bool

height:Int

width:Int

Defined by NamedAssetBase

read onlyassetFullPath:Array<Dynamic>

read onlyassetNamespace:String

id:String

name:String

read onlyoriginalName:String

Inherited Methods

Defined by TextureProxyBase

Defined by NamedAssetBase

assetPathEquals(name:String, ns:String):Bool

@:value({ overrideOriginal : true, ns : null })resetAssetPath(name:String, ?ns:String, overrideOriginal:Bool = true):Void