Packageaway3d.materials.methods
Classpublic class OutlineMethod
InheritanceOutlineMethod Inheritance EffectMethodBase Inheritance ShadingMethodBase Inheritance NamedAssetBase Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined By
 InheritedassetFullPath : Array
[read-only]
NamedAssetBase
 InheritedassetNamespace : String
[read-only]
NamedAssetBase
 InheritedassetType : String
[read-only]
EffectMethodBase
 Inheritedname : String
NamedAssetBase
 InheritedoriginalName : String
[read-only] The original name used for this asset in the resource (e.g.
NamedAssetBase
  outlineColor : uint
OutlineMethod
  outlineSize : Number
OutlineMethod
 Inheritedpasses : Vector.<MaterialPassBase>
[read-only] Any passes required that render to a texture used by this method.
ShadingMethodBase
  showInnerLines : Boolean
OutlineMethod
Protected Properties
 PropertyDefined By
 Inherited_passes : Vector.<MaterialPassBase>
ShadingMethodBase
 Inherited_sharedRegisters : ShaderRegisterData
ShadingMethodBase
Public Methods
 MethodDefined By
  
OutlineMethod(outlineColor:uint = 0x000000, outlineSize:Number = 1, showInnerLines:Boolean = true, dedicatedMeshes:Boolean = false)
OutlineMethod
 Inherited
assetPathEquals(name:String, ns:String):Boolean
NamedAssetBase
 Inherited
Copies the state from a ShadingMethodBase object into the current object.
ShadingMethodBase
 Inherited
dispose():void
Cleans up any resources used by the current object.
ShadingMethodBase
 Inherited
resetAssetPath(name:String, ns:String = null, overrideOriginal:Boolean = true):void
NamedAssetBase
Protected Methods
 MethodDefined By
 Inherited
getTex2DSampleCode(vo:MethodVO, targetReg:ShaderRegisterElement, inputReg:ShaderRegisterElement, texture:TextureProxyBase, uvReg:ShaderRegisterElement = null, forceWrap:String = null):String
A helper method that generates standard code for sampling from a texture using the normal uv coordinates.
ShadingMethodBase
 Inherited
ShadingMethodBase
 Inherited
Marks the shader program as invalid, so it will be recompiled before the next render.
ShadingMethodBase
Public Constants
 ConstantDefined By
 InheritedDEFAULT_NAMESPACE : String = default
[static]
NamedAssetBase
Property Detail
outlineColorproperty
outlineColor:uint


Implementation
    public function get outlineColor():uint
    public function set outlineColor(value:uint):void
outlineSizeproperty 
outlineSize:Number


Implementation
    public function get outlineSize():Number
    public function set outlineSize(value:Number):void
showInnerLinesproperty 
showInnerLines:Boolean


Implementation
    public function get showInnerLines():Boolean
    public function set showInnerLines(value:Boolean):void
Constructor Detail
OutlineMethod()Constructor
public function OutlineMethod(outlineColor:uint = 0x000000, outlineSize:Number = 1, showInnerLines:Boolean = true, dedicatedMeshes:Boolean = false)



Parameters
outlineColor:uint (default = 0x000000)
 
outlineSize:Number (default = 1)
 
showInnerLines:Boolean (default = true)
 
dedicatedMeshes:Boolean (default = false)
Method Detail
activate()method
override arcane function activate(vo:MethodVO, stage3DProxy:Stage3DProxy):void

Parameters

vo:MethodVO
 
stage3DProxy:Stage3DProxy

getFragmentCode()method 
override arcane function getFragmentCode(vo:MethodVO, regCache:ShaderRegisterCache, targetReg:ShaderRegisterElement):String

Parameters

vo:MethodVO
 
regCache:ShaderRegisterCache
 
targetReg:ShaderRegisterElement

Returns
String
initVO()method 
override arcane function initVO(vo:MethodVO):void

Parameters

vo:MethodVO

reset()method 
override arcane function reset():void