| Package | com.yogurt3d.core.effects.filters |
| Class | public class FilterThermalVision |
| Inheritance | FilterThermalVision Filter Shader Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | attributes : Vector.<EVertexAttribute> [read-only] | Shader | |
| color0 : Color | FilterThermalVision | ||
| color1 : Color | FilterThermalVision | ||
| color2 : Color | FilterThermalVision | ||
![]() | key : String
Key string of a shader. | Shader | |
![]() | params : ShaderParameters
Returns the shader parameters. | Shader | |
| threshold : Number | FilterThermalVision | ||
| Method | Defined By | ||
|---|---|---|---|
| FilterThermalVision | |||
![]() | clearTextures(_context3D:Context3D):void | Filter | |
![]() | dispose():void | Filter | |
![]() | disposeShaders():void | Shader | |
getFragmentProgram(_lightType:ELightType = null):ByteArray [override] | FilterThermalVision | ||
![]() | getProgram(_context3D:Context3D, _lightType:ELightType = null, _meshKey:String):Program3D
Returns the Program3D object for this shader. | Shader | |
![]() | getRenderTarget(_rect:Rectangle):RenderTextureTarget | Filter | |
![]() | getVertexProgram(_meshKey:String, _lightType:ELightType = null):ByteArray [override] | Filter | |
![]() | postProcess(_context3d:Context3D, _viewport:Rectangle, _sampler:RenderTextureTarget):void | Filter | |
setShaderConstants(_context3D:Context3D, view:Rectangle):void [override] | FilterThermalVision | ||
| color0 | property |
color0:Color public function get color0():Color public function set color0(value:Color):void| color1 | property |
color1:Color public function get color1():Color public function set color1(value:Color):void| color2 | property |
color2:Color public function get color2():Color public function set color2(value:Color):void| threshold | property |
threshold:Number public function get threshold():Number public function set threshold(value:Number):void| FilterThermalVision | () | Constructor |
public function FilterThermalVision(_color0:Color, _color1:Color, _color2:Color, _threshold:Number = 0.5)_color0:Color | |
_color1:Color | |
_color2:Color | |
_threshold:Number (default = 0.5) |
| getFragmentProgram | () | method |
override public function getFragmentProgram(_lightType:ELightType = null):ByteArrayParameters
_lightType:ELightType (default = null) |
ByteArray |
| setShaderConstants | () | method |
override public function setShaderConstants(_context3D:Context3D, view:Rectangle):voidParameters
_context3D:Context3D | |
view:Rectangle |