| Package | away3d.textures |
| Class | public class CubeReflectionTexture |
| Inheritance | CubeReflectionTexture RenderCubeTexture CubeTextureBase TextureProxyBase NamedAssetBase flash.events.EventDispatcher |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
![]() | assetType : String [read-only] | TextureProxyBase | |
| farPlaneDistance : Number
The far plane of the camera lens. | CubeReflectionTexture | ||
![]() | format : String [read-only] | TextureProxyBase | |
![]() | hasMipMaps : Boolean [read-only] | TextureProxyBase | |
![]() | height : int [read-only] | TextureProxyBase | |
![]() | name : String | NamedAssetBase | |
| nearPlaneDistance : Number
The near plane used by the camera lens. | CubeReflectionTexture | ||
![]() | originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | |
| position : Vector3D
The origin where the environment map will be rendered. | CubeReflectionTexture | ||
| renderer : RendererBase
The renderer to use. | CubeReflectionTexture | ||
![]() | size : int | RenderCubeTexture | |
![]() | width : int [read-only] | TextureProxyBase | |
| Method | Defined By | ||
|---|---|---|---|
CubeReflectionTexture(size:int)
Creates a new CubeReflectionTexture object
| CubeReflectionTexture | ||
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
dispose():void [override]
Cleans up resources used by this asset. | CubeReflectionTexture | ||
getTextureForStage3D(stage3DProxy:Stage3DProxy):TextureBase [override]
| CubeReflectionTexture | ||
![]() | invalidateContent():void | TextureProxyBase | |
Renders the scene in the given view for reflections. | CubeReflectionTexture | ||
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
| farPlaneDistance | property |
farPlaneDistance:NumberThe far plane of the camera lens. Can be used to cut off objects that are too far to be of interest in reflections
public function get farPlaneDistance():Number public function set farPlaneDistance(value:Number):void| nearPlaneDistance | property |
nearPlaneDistance:NumberThe near plane used by the camera lens.
public function get nearPlaneDistance():Number public function set nearPlaneDistance(value:Number):void| position | property |
position:Vector3DThe origin where the environment map will be rendered. This is usually in the centre of the reflective object.
public function get position():Vector3D public function set position(value:Vector3D):void| renderer | property |
renderer:RendererBaseThe renderer to use.
public function get renderer():RendererBase public function set renderer(value:RendererBase):void| CubeReflectionTexture | () | Constructor |
public function CubeReflectionTexture(size:int)Creates a new CubeReflectionTexture object
Parameterssize:int — The size of the cube texture
|
| dispose | () | method |
override public function dispose():voidCleans up resources used by this asset.
| getTextureForStage3D | () | method |
override public function getTextureForStage3D(stage3DProxy:Stage3DProxy):TextureBase
Parameters
stage3DProxy:Stage3DProxy |
TextureBase |
| render | () | method |
public function render(view:View3D):voidRenders the scene in the given view for reflections.
Parameters
view:View3D — The view containing the scene to render.
|