Packagecom.yogurt3d.core.effects.filters
Classpublic class FilterThermalVision
InheritanceFilterThermalVision Inheritance Filter Inheritance Shader Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedattributes : Vector.<EVertexAttribute>
[read-only]
Shader
  color0 : Color
FilterThermalVision
  color1 : Color
FilterThermalVision
  color2 : Color
FilterThermalVision
 Inheritedkey : String
Key string of a shader.
Shader
 Inheritedparams : ShaderParameters
Returns the shader parameters.
Shader
  threshold : Number
FilterThermalVision
Protected Properties
 PropertyDefined By
 Inheritedm_height : Number
[static]
Filter
 Inheritedm_width : Number
[static]
Filter
Public Methods
 MethodDefined By
  
FilterThermalVision(_color0:Color, _color1:Color, _color2:Color, _threshold:Number = 0.5)
FilterThermalVision
 Inherited
clearTextures(_context3D:Context3D):void
Filter
 Inherited
dispose():void
Filter
 Inherited
Shader
  
getFragmentProgram(_lightType:ELightType = null):ByteArray
[override]
FilterThermalVision
 Inherited
getProgram(_context3D:Context3D, _lightType:ELightType = null, _meshKey:String):Program3D
Returns the Program3D object for this shader.
Shader
 Inherited
Filter
 Inherited
getVertexProgram(_meshKey:String, _lightType:ELightType = null):ByteArray
[override]
Filter
 Inherited
postProcess(_context3d:Context3D, _viewport:Rectangle, _sampler:RenderTextureTarget):void
Filter
  
setShaderConstants(_context3D:Context3D, view:Rectangle):void
[override]
FilterThermalVision
Property Detail
color0property
color0:Color


Implementation
    public function get color0():Color
    public function set color0(value:Color):void
color1property 
color1:Color


Implementation
    public function get color1():Color
    public function set color1(value:Color):void
color2property 
color2:Color


Implementation
    public function get color2():Color
    public function set color2(value:Color):void
thresholdproperty 
threshold:Number


Implementation
    public function get threshold():Number
    public function set threshold(value:Number):void
Constructor Detail
FilterThermalVision()Constructor
public function FilterThermalVision(_color0:Color, _color1:Color, _color2:Color, _threshold:Number = 0.5)



Parameters
_color0:Color
 
_color1:Color
 
_color2:Color
 
_threshold:Number (default = 0.5)
Method Detail
getFragmentProgram()method
override public function getFragmentProgram(_lightType:ELightType = null):ByteArray

Parameters

_lightType:ELightType (default = null)

Returns
ByteArray
setShaderConstants()method 
override public function setShaderConstants(_context3D:Context3D, view:Rectangle):void

Parameters

_context3D:Context3D
 
view:Rectangle