| Package | away3d.materials.methods |
| Class | public class AlphaMaskMethod |
| Inheritance | AlphaMaskMethod EffectMethodBase ShadingMethodBase NamedAssetBase flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
![]() | assetFullPath : Array [read-only] | NamedAssetBase | |
![]() | assetNamespace : String [read-only] | NamedAssetBase | |
![]() | assetType : String [read-only] | EffectMethodBase | |
![]() | name : String | NamedAssetBase | |
![]() | originalName : String [read-only]
The original name used for this asset in the resource (e.g. | NamedAssetBase | |
![]() | passes : Vector.<MaterialPassBase> [read-only]
Any passes required that render to a texture used by this method. | ShadingMethodBase | |
| texture : Texture2DBase | AlphaMaskMethod | ||
| useSecondaryUV : Boolean | AlphaMaskMethod | ||
| Method | Defined By | ||
|---|---|---|---|
AlphaMaskMethod(texture:Texture2DBase, useSecondaryUV:Boolean = false) | AlphaMaskMethod | ||
![]() | assetPathEquals(name:String, ns:String):Boolean | NamedAssetBase | |
![]() | copyFrom(method:ShadingMethodBase):void
Copies the state from a ShadingMethodBase object into the current object. | ShadingMethodBase | |
![]() | dispose():void
Cleans up any resources used by the current object. | ShadingMethodBase | |
![]() | resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void | NamedAssetBase | |
| texture | property |
texture:Texture2DBase public function get texture():Texture2DBase public function set texture(value:Texture2DBase):void| useSecondaryUV | property |
useSecondaryUV:Boolean public function get useSecondaryUV():Boolean public function set useSecondaryUV(value:Boolean):void| AlphaMaskMethod | () | Constructor |
public function AlphaMaskMethod(texture:Texture2DBase, useSecondaryUV:Boolean = false)texture:Texture2DBase | |
useSecondaryUV:Boolean (default = false) |
| activate | () | method |
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):voidParameters
vo:MethodVO | |
stage3DProxy:Stage3DProxy |
| getFragmentCode | () | method |
override arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):StringParameters
vo:MethodVO | |
regCache:ShaderRegisterCache | |
targetReg:ShaderRegisterElement |
String |
| initVO | () | method |