SkyBoxMaterial is a material exclusively used to render skyboxes

See also:

  • away3d.primitives.SkyBox

Constructor

new(cubeMap:CubeTextureBase)

Creates a new SkyBoxMaterial object.

Parameters:

cubeMap

The CubeMap to use as the skybox.

Variables

Inherited Variables

Defined by MaterialBase

read onlyassetType:String

blendMode:BlendMode

depthCompareMode:Context3DCompareMode

extra:Dynamic

An object to contain any extra data.

mipmap:Bool

repeat:Bool

read onlyrequiresBlending:Bool

smooth:Bool

read onlyuniqueId:Int

Defined by NamedAssetBase

read onlyassetFullPath:Array<Dynamic>

read onlyassetNamespace:String

id:String

name:String

read onlyoriginalName:String

Inherited Methods

Defined by MaterialBase

dispose():Void

Cleans up resources owned by the material, including passes. Textures are not owned by the material since they could be used by other materials and will not be disposed.

Defined by NamedAssetBase

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

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