PlanarReflectionTexture is a Texture that can be used for material-based planar reflections, as provided by PlanarReflectionMethod, FresnelPlanarReflectionMethod.

See also:

  • away3d.materials.methods.PlanarReflectionMethod

Constructor

new()

Creates a new PlanarReflectionTexture object.

Variables

Methods

applyTransform(matrix:Matrix3D):Void

Sets the plane to match a given matrix. This is used to easily match a Mesh using a PlaneGeometry and yUp = false.

Parameters:

matrix

The transformation matrix to rotate the plane with.

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 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