X10D.Unity
Extension methods for .
Returns an array of components of the specified type, excluding components that live on the object to which this
component is attached.
The component whose child components to retrieve.
The type of the components to retrieve.
An array representing the child components.
Drawing-related extensions for .
Returns a new with the red, green, and blue components inverted. Alpha is not affected.
The color to invert.
The inverted color.
Returns a vector whose red, green, and blue components are the same as the specified color, and whose alpha component
is a new value.
The color to copy.
The new alpha component value.
A new instance of whose , , and
components are the same as that of , and whose
component is .
Returns a vector whose red, green, and alpha components are the same as the specified color, and whose blue component
is a new value.
The color to copy.
The new blue component value.
A new instance of whose , , and
components are the same as that of , and whose
component is .
Returns a vector whose red, blue, and alpha components are the same as the specified color, and whose green component
is a new value.
The color to copy.
The new green component value.
A new instance of whose , , and
components are the same as that of , and whose
component is .
Returns a vector whose green, blue, and alpha components are the same as the specified color, and whose red component
is a new value.
The color to copy.
The new red component value.
A new instance of whose , , and
components are the same as that of , and whose
component is .
Drawing-related extensions for .
Returns a new with the red, green, and blue components inverted. Alpha is not affected.
The color to invert.
The inverted color.
Returns a vector whose red, green, and blue components are the same as the specified color, and whose alpha component
is a new value.
The color to copy.
The new alpha component value.
A new instance of whose , , and
components are the same as that of , and whose
component is .
Returns a vector whose red, green, and alpha components are the same as the specified color, and whose blue component
is a new value.
The color to copy.
The new blue component value.
A new instance of whose , , and
components are the same as that of , and whose
component is .
Returns a vector whose red, blue, and alpha components are the same as the specified color, and whose green component
is a new value.
The color to copy.
The new green component value.
A new instance of whose , , and
components are the same as that of , and whose
component is .
Returns a vector whose green, blue, and alpha components are the same as the specified color, and whose red component
is a new value.
The color to copy.
The new red component value.
A new instance of whose , , and
components are the same as that of , and whose
component is .
Extension methods for .
Returns an HDR color of random components for red, green, and blue.
The instance.
A whose red, green, and blue components are all random, and whose alpha is 255
is .
Returns an HDR color composed of random components for apha, red, green, and blue.
The instance.
A whose alpha, red, green, and blue components are all random.
is .
Returns a color of random components for red, green, and blue.
The instance.
A whose red, green, and blue components are all random, and whose alpha is 255
is .
Returns a color composed of random components for apha, red, green, and blue.
The instance.
A whose alpha, red, green, and blue components are all random.
is .
Extension methods for .
Returns an array of components of the specified type, excluding components that live on this game object.
The game object whose child components to retrieve.
The type of the components to retrieve.
An array representing the child components.
Rotates the transform component of this game object so the forward vector points at another game object.
The game object whose rotation will be changed.
The game object to look at.
is .
-or-
is .
Rotates the transform component of this game object so the forward vector points at .
The game object whose rotation will be changed.
The point to look at.
is .
Rotates the transform component of this game object so the forward vector points at a specified transform.
The game object whose rotation will be changed.
The transform to look at.
is .
-or-
is .
Rotates the transform component of this game object so the forward vector points at another game object.
The game object whose rotation will be changed.
The game object to look at.
A vector specifying the upward direction.
is .
-or-
is .
Rotates the transform component of this game object so the forward vector points at .
The game object whose rotation will be changed.
The point to look at.
A vector specifying the upward direction.
is .
Rotates the transform component of this game object so the forward vector points at a specified transform.
The game object whose rotation will be changed.
The transform to look at.
A vector specifying the upward direction.
is .
-or-
is .
Sets the new layer of this game object and its children, recursively.
The game object whose layer, and that of its children recursively, to change.
The new layer.
is .
Sets the parent of this game object.
The game object whose parent to change.
The new parent.
is .
-or-
is .
Sets the parent of this game object.
The game object whose parent to change.
The new parent.
is .
-or-
is .
Sets the parent of this game object.
The game object whose parent to change.
The new parent.
to modify the parent-relative position, scale and rotation such that the object keeps the same
world space position, rotation and scale as before; otherwise, .
is .
-or-
is .
Sets the parent of this game object.
The game object whose parent to change.
The new parent.
to modify the parent-relative position, scale and rotation such that the object keeps the same
world space position, rotation and scale as before; otherwise, .
is .
-or-
is .
Numeric-extensions for .
Converts the current quaternion to a .
The quaternion to convert.
The converted quaternion.
Converts the current quaternion to a .
The quaternion to convert.
The converted quaternion.
Extension methods for .
Returns a randomly generated rotation as represented by a .
The instance.
A constructed from 3 random single-precision floating point numbers representing the
yaw, pitch, and roll.
is .
Returns a randomly generated rotation with uniform distribution.
The instance.
A constructed with uniform distribution.
is .
Returns a with magnitude 1 whose components indicate a random point on the unit circle.
The instance
A whose returns 1, and whose components indicate a random
point on the unit circle.
Returns a with magnitude 1 whose components indicate a random point on the unit sphere.
The instance
A whose returns 1, and whose components indicate a random
point on the unit sphere.
Numeric-extensions for .
Converts the current vector to a .
The vector to convert.
The converted vector.
Converts the current vector to a .
The vector to convert.
The converted vector.
Returns a vector whose Y component is the same as the specified vector, and whose X component is a new value.
The vector to copy.
The new X component value.
A new instance of whose components is the same as that of
, and whose component is .
Returns a vector whose X component is the same as the specified vector, and whose Y component is a new value.
The vector to copy.
The new Y component value.
A new instance of whose components is the same as that of
, and whose component is .
Numeric-extensions for .
Converts the current vector to a .
The vector to convert.
The converted vector.
Converts the current vector to a .
The vector to convert.
The converted vector.
Returns a vector whose Y and Z components are the same as the specified vector, and whose X component is a new value.
The vector to copy.
The new X component value.
A new instance of whose and components are
the same as that of , and whose component is .
Returns a vector whose X and Z components are the same as the specified vector, and whose Y component is a new value.
The vector to copy.
The new Y component value.
A new instance of whose and components are
the same as that of , and whose component is .
Returns a vector whose X and Y components are the same as the specified vector, and whose Z component is a new value.
The vector to copy.
The new Z component value.
A new instance of whose and components are
the same as that of , and whose component is .
Numeric-extensions for .
Converts the current vector to a .
The vector to convert.
The converted vector.
Converts the current vector to a .
The vector to convert.
The converted vector.
Returns a vector whose Y, Z, and W components are the same as the specified vector, and whose X component is a new
value.
The vector to copy.
The new X component value.
A new instance of whose , , and
components are the same as that of , and whose
component is .
Returns a vector whose X, Z, and W components are the same as the specified vector, and whose Y component is a new
value.
The vector to copy.
The new Y component value.
A new instance of whose , , and
components are the same as that of , and whose
component is .
Returns a vector whose X, Y, and W components are the same as the specified vector, and whose Z component is a new
value.
The vector to copy.
The new Z component value.
A new instance of whose , , and
components are the same as that of , and whose
component is .
Returns a vector whose X, Y, and Z components are the same as the specified vector, and whose W component is a new
value.
The vector to copy.
The new W component value.
A new instance of whose , , and
components are the same as that of , and whose
component is .
Represents a class which implements the singleton pattern for a specific . This class is not
thread-safe.
The type of the singleton.
Gets the instance of the singleton.
The singleton instance.
Called when the object is destroyed.
Extension methods for .
Rotates this transform so the forward vector points at another game object.
The transform whose rotation will be changed.
The game object to look at.
is .
-or-
is .
Rotates this transform so the forward vector points at another game object.
The transform whose rotation will be changed.
The game object to look at.
A vector specifying the upward direction.
is .
-or-
is .
Sets the parent of this transform.
The transform whose parent to change.
The new parent.
is .
-or-
is .
Sets the parent of this transform.
The transform whose parent to change.
The new parent.
to modify the parent-relative position, scale and rotation such that the object keeps the same
world space position, rotation and scale as before; otherwise, .
is .
-or-
is .