The ShaderSignal
represents a shader signal.
Property  Description 

 Gets the W component. 
 Gets the X component. 
 Gets the Y component. 
 Gets the Z component. 
Method  Description 


Returns a signal with the value that is the absolute value of the given signal. See Also: 

Returns a signal with the value that is the sum of the values of the given signals. Note: See Also: 

Returns a signal with the value that is the angle in radians between the xaxis and the ray from (0, 0) to (x, y) where x and y are the values of the specified signals. The range is PI to +PI. See Also: 

Returns a signal with the value that is the smallest integer that is greater than or equal to the value of the given signal. See Also: 

Returns a vector signal with the value that is the cross product of the given signals. See Also: 

Returns the distance from the point to another point as a 

Returns a signal with the value that is the value of the first signal divided by the value of the second signal. See Also: 

Returns a scalar signal with the value that is the dot product of the given signals. See Also: 

Returns a signal with the value that is the largest integer that is less than or equal to the value of the given signal. See Also: 

Maps x from [min, max] range to [0.0, 1.0] range. 

Returns the magnitude of the vector as a 

Returns a signal with the value that is the floatingpoint remainder of the division of the value of the first signal by the value of the second signal. See Also: 

Returns a signal with the value that is the product of the values of the given signals. See Also: 

Returns a signal with the negated value of the given signal. See Also: 

Returns the normalized (unit) vector in the direction of the original vector as a 

Returns a signal with the value that is the base signal raised to the power of the exponent signal. Raising a negative base to the power of a fractional exponent produce a NaN. Raising 0 to the power of a negative exponent will produce positive infinity. Raising 0 to the power of any positive exponent will produce 0. Raising 1 to the power of a positive or negative infinity exponent will produce 1. Raising 1 to the power of any exponent, including NaN, will produce 1. Raising any base, including NaN, to the power of 0 will produce 1. Raising any base to the power of negative infinity, where base < 1, will produce positive infinity. Raising any base to the power of negative infinity, where base > 1, will produce 0. Raising any base to the power of positive infinity, where base < 1, will produce 0. Raising any base to the power of positive infinity, where base > 1, will produce positive infinity. Raising negative infinity to the power of a negative exponent will produce 0. Raising negative infinity to the power of a positive exponent will produce positive infinity. Raising positive infinity to the power of a negative exponent will produce 0. Raising positive infinity to the power of a positive exponent will produce positive infinity. In all other cases, if either the base or the exponent is a NaN, a NaN will be produced. See Also: 

Calculates the reflection direction for an incident vector and a normal as a 

Returns a signal with the value that is the rounded value of the given signal. Note: When the fractional part is 0.5, it rounds the number away from zero, which is at odds with JavaScript standard behavior of rounding it always up in such cases. Therefore, this function is NOT exactly the reactive counterpart of the standard JavaScript See Also: 

Returns a signal with the value that is the sign of the given signal. Possible sign values: NaN, 0.0, 0.0, 1.0, 1.0. Note: this function is the reactive counterpart of the standard JavaScript See Also: 

Returns 0.0 if x is less than edge0, and 1.0 if x is greater than edge1. If x is between edge0 and edge1, smooth Hermite interpolation is performed. 

Returns a signal with the value that is the square root of the value of the given signal. See Also: 

Returns a signal with the value that is the difference of the values of the given signals. See Also: 

Returns a signal with the value that is the sum of the values of the given signals. Note: See Also: 

Maps x from [0.0, 1.0] range to [min, max] range. 

Throws an error. Signals are not supposed to be implicitly converted to scalar values. See also: 