PlanarReflectionMethod is a material method that adds reflections from a PlanarReflectionTexture object.

See also:

  • away3d.textures.PlanarReflectionTexture

Constructor

@:value({ alpha : 1 })new(texture:PlanarReflectionTexture, alpha:Float = 1)

Creates a new PlanarReflectionMethod

Parameters:

texture

The PlanarReflectionTexture used to render the reflected view.

alpha

The reflectivity of the surface.

Variables

Inherited Variables

Defined by EffectMethodBase

read onlyassetType:String

Defined by ShadingMethodBase

Defined by NamedAssetBase

read onlyassetFullPath:Array<Dynamic>

read onlyassetNamespace:String

id:String

name:String

read onlyoriginalName:String

Inherited Methods

Defined by ShadingMethodBase

copyFrom(method:ShadingMethodBase):Void

Copies the state from a ShadingMethodBase object into the current object.

dispose():Void

Cleans up any resources used by the current object.

Defined by NamedAssetBase

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

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