A vector of form (x,y,z).
![]() | A vector of form (x,y,z). |
![]() | The x component. |
![]() | The y component. |
![]() | The z component. |
![]() | Specifies a compile-time constant float3 with value (0, 0, 0). |
![]() | Specifies a compile-time constant float3 with value (1, 1, 1). |
![]() | Specifies a compile-time constant float3 with value (1, 0, 0). |
![]() | Specifies a compile-time constant float3 with value (0, 1, 0). |
![]() | Specifies a compile-time constant float3 with value (0, 0, 1). |
![]() | A compile-time constant float3 with value (NaN, NaN, NaN). |
![]() | A compile-time constant float3 with value (+infinity, +infinity, +infinity). |
![]() | The default constructor does not initialize any members of this class. |
![]() | Casts this float3 to a C array. |
![]() | Accesses an element of this vector using array notation. |
![]() | Accesses an element of this vector. |
![]() | Adds two vectors. |
![]() | Adds a vector to this vector, in-place. |
![]() | Adds a vector to this vector. |
![]() | Performs a 2D swizzled access to this vector. |
![]() | Performs a 3D swizzled access to this vector. |
![]() | Performs a swizzled access to this vector. |
![]() | Fills each entry of this float3 by the given scalar. |
![]() | Sets all elements of this vector. |
![]() | Converts the given vector represented in spherical coordinates to an euclidean float3 (x,y,z) triplet. |
![]() | Returns float4(x,y,z,1). |
![]() | Returns float4(x,y,z,0). [similarOverload: ToPos4] |
![]() | Converts this euclidean (x,y,z) float3 to spherical coordinates representation in the form (azimuth, inclination, radius). |
![]() | Converts this normalized euclidean (x,y,z) float3 to spherical coordinates representation in the form (azimuth, inclination) |
![]() | Computes the length of this vector. |
![]() | Computes the squared length of this vector. |
![]() | Normalizes this float3. |
![]() | Returns a normalized copy of this vector. |
![]() | Scales this vector so that its new length is as given. |
![]() | Returns a scaled copy of this vector which has its new length as given. |
![]() | Tests if the length of this vector is one, up to the given epsilon. |
![]() | Tests if this is the null vector, up to the given epsilon. |
![]() | Tests if this vector contains valid finite elements. |
![]() | Tests if two vectors are perpendicular to each other. |
![]() | Tests if two vectors are equal, up to the given epsilon. |
![]() | Compares whether this float3 and the given float3 are identical bit-by-bit in the underlying representation. |
![]() | Returns "(x, y, z)". |
![]() | Returns "x,y,z". This is the preferred format for the float3 if it has to be serialized to a string for machine transfer. |
![]() | Returns a string of C++ code that can be used to construct this object. Useful for generating test cases from badly behaving objects. |
![]() | Returns x + y + z. |
![]() | Returns x * y * z. |
![]() | Returns (x+y+z)/3. |
![]() | Returns min(x, y, z). |
![]() | Returns the index that has the smallest value in this vector. |
![]() | Returns max(x, y, z). |
![]() | Returns the index that has the smallest value in this vector. |
![]() | Takes the element-wise absolute value of this vector. |
![]() | Returns a copy of this vector with each element negated. |
![]() | Computes the element-wise reciprocal of this vector. |
![]() | Returns an element-wise minimum of this and the vector (ceil, ceil, ceil). |
![]() | Returns an element-wise maximum of this and the vector (floor, floor, floor). |
![]() | Returns a vector that has floor <= this[i] <= ceil for each element. |
![]() | Limits each element of this vector in the range [0, 1]. |
![]() | Returns a copy of this vector, with its length scaled down to maxLength. |
![]() | Computes the distance between this point and the given object. |
![]() | Computes the squared distance between this and the given point. |
![]() | Computes the dot product of this and the given vector. |
![]() | Computes the cross product of this and the given vector. |
![]() | Computes the outer product of this and the given vector. |
![]() | Computes a new normalized direction vector that is perpendicular to this vector and the specified hint vector. |
![]() | Returns another vector that is perpendicular to this vector and the vector returned by Perpendicular(). |
![]() | This function computes two new vectors b and c which are both orthogonal to this vector and to each other. |
![]() | Generates a random vector that is perpendicular to this vector. |
![]() | Returns this vector reflected about a plane with the given normal. |
![]() | Refracts this vector about a plane with the given normal. |
![]() | Projects this vector onto the given unnormalized direction vector. |
![]() | Projects this vector onto the given normalized direction vector. |
![]() | Returns the angle between this vector and the specified vector, in radians. |
![]() | Returns the angle between this vector and the specified normalized vector, in radians. |
![]() | Breaks this vector down into parallel and perpendicular components with respect to the given direction. |
![]() | Linearly interpolates between this and the vector b. |
![]() | Generates a new float3 by filling its entries by the given scalar. |
![]() | |
![]() | Tests if the points p1, p2 and p3 lie on a straight line, up to the given epsilon. |
![]() | Parses a string that is of form "x,y,z" or "(x,y,z)" or "(x;y;z)" or "x y z" to a new float3. |
![]() | Computes the scalar triple product of the given three vectors. |
![]() | This function is the same as calling a.Lerp(b, t). |
![]() | Makes the given vectors linearly independent. |
![]() | Returns true if the given vectors are orthogonal to each other. |
![]() | Makes the given vectors linearly independent and normalized in length. |
![]() | Returns true if the given vectors are orthogonal to each other and all of length 1. |
![]() | Generates a direction vector of the given length. |
![]() | Generates a random point inside a sphere. |
![]() | Generates a random point inside an axis-aligned box. |
![]() |