Package | away3d.materials.utils |
Class | public class AGAL |
Method | Defined by | ||
---|---|---|---|
add(tgt:String, src1:String, src2:String):String
[static]
Add
| AGAL | ||
cos(tgt:String, src:String):String
[static]
| AGAL | ||
cross(tgt:String, src1:String, src2:String):String
[static]
Cross product for 3-component vectors
| AGAL | ||
div(tgt:String, src1:String, src2:String):String
[static]
Divide
| AGAL | ||
dp3(tgt:String, src1:String, src2:String):String
[static]
Dot product for a 3-component vector
| AGAL | ||
dp4(tgt:String, src1:String, src2:String):String
[static]
Dot product for a 4-component vector
| AGAL | ||
exp(tgt:String, src:String):String
[static]
Exponential
| AGAL | ||
fract(tgt:String, src:String):String
[static]
Get the fractional part
| AGAL | ||
greaterOrEqualTo(tgt:String, src1:String, src2:String):String
[static]
Greater or equal (identical to step)
| AGAL | ||
kill(src:String):String
[static]
| AGAL | ||
lessThan(tgt:String, src1:String, src2:String):String
[static]
Less than: tgt = src1 < src2? 1 : 0
| AGAL | ||
m33(tgt:String, src1:String, src2:String):String
[static]
Vector Matrix3x3 multiplication
| AGAL | ||
m34(tgt:String, src1:String, src2:String):String
[static]
Vector Matrix3x4 multiplication
| AGAL | ||
m44(tgt:String, src1:String, src2:String):String
[static]
Vector Matrix4x4 multiplication
| AGAL | ||
mov(tgt:String, src:String):String
[static]
Copy value
| AGAL | ||
mul(tgt:String, src1:String, src2:String):String
[static]
Multiply
| AGAL | ||
neg(tgt:String, src:String):String
[static]
Negate, tgt = -src
| AGAL | ||
normalize(tgt:String, src:String):String
[static]
Normalize a 3-component vector
| AGAL | ||
pow(tgt:String, src1:String, src2:String):String
[static]
Power
| AGAL | ||
rcp(tgt:String, src:String):String
[static]
Reciprocal, tgt = 1/src
| AGAL | ||
sample(tgt:String, coord:String, type:String, fs:String, filter:String, wrap:String):String
[static]
Sample texture
| AGAL | ||
sat(tgt:String, src:String):String
[static]
Saturate; Clamp a value between 0 and 1
| AGAL | ||
sin(tgt:String, src:String):String
[static]
| AGAL | ||
sqrt(tgt:String, src:String):String
[static]
Square root
| AGAL | ||
step(tgt:String, src1:String, src2:String):String
[static]
Step: tgt = src1 > src2? 1 : 0
| AGAL | ||
sub(tgt:String, src1:String, src2:String):String
[static]
Subtract
| AGAL |
add | () | method |
public static function add(tgt:String, src1:String, src2:String):String
Add
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
cos | () | method |
public static function cos(tgt:String, src:String):String
Parameters
tgt:String |
|
src:String |
String |
cross | () | method |
public static function cross(tgt:String, src1:String, src2:String):String
Cross product for 3-component vectors
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
div | () | method |
public static function div(tgt:String, src1:String, src2:String):String
Divide
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
dp3 | () | method |
public static function dp3(tgt:String, src1:String, src2:String):String
Dot product for a 3-component vector
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
dp4 | () | method |
public static function dp4(tgt:String, src1:String, src2:String):String
Dot product for a 4-component vector
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
exp | () | method |
public static function exp(tgt:String, src:String):String
Exponential
Parameterstgt:String |
|
src:String |
String |
fract | () | method |
public static function fract(tgt:String, src:String):String
Get the fractional part
Parameterstgt:String |
|
src:String |
String |
greaterOrEqualTo | () | method |
public static function greaterOrEqualTo(tgt:String, src1:String, src2:String):String
Greater or equal (identical to step)
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
kill | () | method |
public static function kill(src:String):String
Parameters
src:String |
String |
lessThan | () | method |
public static function lessThan(tgt:String, src1:String, src2:String):String
Less than: tgt = src1 < src2? 1 : 0
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
m33 | () | method |
public static function m33(tgt:String, src1:String, src2:String):String
Vector Matrix3x3 multiplication
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
m34 | () | method |
public static function m34(tgt:String, src1:String, src2:String):String
Vector Matrix3x4 multiplication
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
m44 | () | method |
public static function m44(tgt:String, src1:String, src2:String):String
Vector Matrix4x4 multiplication
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
mov | () | method |
public static function mov(tgt:String, src:String):String
Copy value
Parameterstgt:String |
|
src:String |
String |
mul | () | method |
public static function mul(tgt:String, src1:String, src2:String):String
Multiply
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
neg | () | method |
public static function neg(tgt:String, src:String):String
Negate, tgt = -src
Parameterstgt:String |
|
src:String |
String |
normalize | () | method |
public static function normalize(tgt:String, src:String):String
Normalize a 3-component vector
Parameterstgt:String |
|
src:String |
String |
pow | () | method |
public static function pow(tgt:String, src1:String, src2:String):String
Power
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
rcp | () | method |
public static function rcp(tgt:String, src:String):String
Reciprocal, tgt = 1/src
Parameterstgt:String |
|
src:String |
String |
sample | () | method |
public static function sample(tgt:String, coord:String, type:String, fs:String, filter:String, wrap:String):String
Sample texture
Parameterstgt:String |
|
coord:String |
|
type:String |
|
fs:String |
|
filter:String |
|
wrap:String |
String |
sat | () | method |
public static function sat(tgt:String, src:String):String
Saturate; Clamp a value between 0 and 1
Parameterstgt:String |
|
src:String |
String |
sin | () | method |
public static function sin(tgt:String, src:String):String
Parameters
tgt:String |
|
src:String |
String |
sqrt | () | method |
public static function sqrt(tgt:String, src:String):String
Square root
Parameterstgt:String |
|
src:String |
String |
step | () | method |
public static function step(tgt:String, src1:String, src2:String):String
Step: tgt = src1 > src2? 1 : 0
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |
sub | () | method |
public static function sub(tgt:String, src1:String, src2:String):String
Subtract
Parameterstgt:String |
|
src1:String |
|
src2:String |
String |