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


Inherited from RenderTexture -> Texture2DBase -> TextureProxyBase -> NamedAssetBase -> EventDispatcher.


Can be created with:

Lib.Away3D.Textures.PlanarReflectionTexture.new()

Creates a new PlanarReflectionTexture object.



Properties:

plane

The plane to reflect with. Plane3D.

renderer

The renderer to use. RendererBase.

scale

A scale factor to reduce the quality of the reflection. Number


Methods:

applyTransform(matrix)

Sets the plane to match a given matrix.

matrix - Matrix3D, The transformation matrix to rotate the plane with. 

dispose()



getTextureForStage3D(stage3DProxy)

Returns (TextureBase)

stage3DProxy - (Stage3DProxy)

render(view)

Renders the scene in the given view for reflections.

view - View3D, The view containing the Scene to render. 







Created with the Personal Edition of HelpNDoc: Full-featured EBook editor