Package | flare.flsl |
Class | public class FLSLParam |
Inheritance | FLSLParam ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | agalVersion : int = 1 [static] | FLSL | |
format : String
The data format of the parameter. | FLSLParam | ||
length : int
The length of the parameter indices for array values. | FLSLParam | ||
max : Number = 0
The maximum value allowed for this parameter. | FLSLParam | ||
min : Number = 0
The minimum value allowed for this parameter. | FLSLParam | ||
![]() | name : String
The name of the flsl object. | FLSL | |
order : int = 0
The order in which this parameter should be place in the editor UI. | FLSLParam | ||
![]() | semantic : String
The semantic which the object is associated. | FLSL | |
ui : String
The kind of control to be placed in the editor UI. | FLSLParam | ||
value : Vector.<Number>
A vector of float values to be used as a parameter. | FLSLParam |
Method | Defined By | ||
---|---|---|---|
FLSLParam(value:Vector.<Number> = null, length:int = 1)
Creates a new FLSLParam object. | FLSLParam | ||
Clones the FLSLParam. | FLSLParam |
format | property |
public var format:String
The data format of the parameter. Sould be float1, float2, float3 or float4.
length | property |
public var length:int
The length of the parameter indices for array values. For example and array of two float4 values would be 2, a float4x4 would be 4.
max | property |
public var max:Number = 0
The maximum value allowed for this parameter. This value will be only used in the editor UI.
min | property |
public var min:Number = 0
The minimum value allowed for this parameter. This value will be only used in the editor UI.
order | property |
public var order:int = 0
The order in which this parameter should be place in the editor UI.
ui | property |
public var ui:String
The kind of control to be placed in the editor UI. Possible values are color or none.
value | property |
public var value:Vector.<Number>
A vector of float values to be used as a parameter. The length of the vector should be modulo of 4.
FLSLParam | () | Constructor |
public function FLSLParam(value:Vector.<Number> = null, length:int = 1)
Creates a new FLSLParam object.
Parametersvalue:Vector.<Number> (default = null ) — A vector of float values to be used as a parameter. The length of the vector should be modulo of 4.
| |
length:int (default = 1 ) — The length of the parameter indices for array values. For example and array of two float4 values would be 2, a float4x4 would be 4.
|
clone | () | method |
public function clone():FLSLParam
Clones the FLSLParam.
ReturnsFLSLParam — A cloned FLSLParam object.
|