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.
An extended version of Unity's utility class which offers support for drawing simple
primitives.
Draws a circle with the specified color.
The center point of the circle.
The radius of the circle.
The number of segments to generate.
Draws a circle with the specified color.
The center point of the circle.
The radius of the circle.
The number of segments to generate.
The color of the circle.
Draws a circle with the specified color and duration.
The center point of the circle.
The radius of the circle.
The number of segments to generate.
The color of the circle.
The duration of the circle's visibility, in seconds. If 0 is passed, the circle is visible for a single frame.
Draws a circle with the specified color and duration.
The center point of the circle.
The radius of the circle.
The number of segments to generate.
The color of the circle.
The duration of the circle's visibility, in seconds. If 0 is passed, the circle is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the circle be obscured by objects closer to the camera.
Draws a circle.
The center point of the circle.
The radius of the circle.
The number of segments to generate.
The drawing offset of the circle.
The color of the circle.
The duration of the circle's visibility, in seconds. If 0 is passed, the circle is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the circle be obscured by objects closer to the camera.
Draws a circle with the specified color.
The circle to draw.
The number of segments to generate.
Draws a circle with the specified color.
The circle to draw.
The number of segments to generate.
The drawing offset of the circle.
Draws a circle with the specified color.
The circle to draw.
The number of segments to generate.
The color of the circle.
Draws a circle with the specified color.
The circle to draw.
The number of segments to generate.
The drawing offset of the circle.
The color of the circle.
Draws a circle with the specified color and duration.
The circle to draw.
The number of segments to generate.
The color of the circle.
The duration of the circle's visibility, in seconds. If 0 is passed, the circle is visible for a single frame.
Draws a circle with the specified color and duration.
The circle to draw.
The number of segments to generate.
The drawing offset of the circle.
The color of the circle.
The duration of the circle's visibility, in seconds. If 0 is passed, the circle is visible for a single frame.
Draws a circle with the specified color and duration.
The circle to draw.
The number of segments to generate.
The color of the circle.
The duration of the circle's visibility, in seconds. If 0 is passed, the circle is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the circle be obscured by objects closer to the camera.
Draws a circle.
The circle to draw.
The number of segments to generate.
The drawing offset of the circle.
The color of the circle.
The duration of the circle's visibility, in seconds. If 0 is passed, the circle is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the circle be obscured by objects closer to the camera.
Draws a circle with the specified color.
The circle to draw.
The number of segments to generate.
Draws a circle with the specified color.
The circle to draw.
The number of segments to generate.
The drawing offset of the circle.
Draws a circle with the specified color.
The circle to draw.
The number of segments to generate.
The color of the circle.
Draws a circle with the specified color.
The circle to draw.
The number of segments to generate.
The drawing offset of the circle.
The color of the circle.
Draws a circle with the specified color and duration.
The circle to draw.
The number of segments to generate.
The color of the circle.
The duration of the circle's visibility, in seconds. If 0 is passed, the circle is visible for a single frame.
Draws a circle with the specified color and duration.
The circle to draw.
The number of segments to generate.
The drawing offset of the circle.
The color of the circle.
The duration of the circle's visibility, in seconds. If 0 is passed, the circle is visible for a single frame.
Draws a circle with the specified color and duration.
The circle to draw.
The number of segments to generate.
The color of the circle.
The duration of the circle's visibility, in seconds. If 0 is passed, the circle is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the circle be obscured by objects closer to the camera.
Draws a circle.
The circle to draw.
The number of segments to generate.
The drawing offset of the circle.
The color of the circle.
The duration of the circle's visibility, in seconds. If 0 is passed, the circle is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the circle be obscured by objects closer to the camera.
The default value to use for the duration parameter.
The default value to use for the depthTest parameter.
Gets a value indicating whether this is a debug build.
if this is a debug build; otherwise, .
Gets a value indicating whether the developer console is visible.
if the developer console is visible; otherwise, .
Gets the default Unity debug logger.
The Unity debug logger.
Asserts a condition.
The condition to assert.
Asserts a condition.
The condition to assert.
The object to which the assertion applies.
Asserts a condition.
The condition to assert.
The message to log.
Asserts a condition.
The condition to assert.
The message to log.
Logs a message to the Unity Console.
The condition to assert.
The message to log.
The object to which the assertion applies.
Logs a message to the Unity Console.
The condition to assert.
The message to log.
The object to which the assertion applies.
Pauses the editor.
Clears the developer console.
Populate an unmanaged buffer with the current managed call stack as a sequence of UTF-8 bytes, without allocating GC
memory.
The target buffer to receive the callstack text.
The maximum number of bytes to write.
The project folder path, to clean up path names.
The number of bytes written into the buffer.
Logs a message to the Unity Console.
The message to log.
Logs a message to the Unity Console.
The message to log.
Logs a message to the Unity Console.
The message to log.
The object to which the message applies.
Logs a message to the Unity Console.
The message to log.
The object to which the message applies.
Logs an assertion message to the Unity Console.
The message to log.
Logs an assertion message to the Unity Console.
The message to log.
Logs an assertion message to the Unity Console.
The message to log.
The object to which the message applies.
Logs an assertion message to the Unity Console.
The message to log.
The object to which the message applies.
Logs an error message to the Unity Console.
The message to log.
Logs an error message to the Unity Console.
The message to log.
Logs an error message to the Unity Console.
The message to log.
The object to which the message applies.
Logs an error message to the Unity Console.
The message to log.
The object to which the message applies.
Logs a formatted error message to the Unity Console.
The format string of the message to log.
The format arguments.
Logs a formatted error message to the Unity Console.
The object to which this message applies.
The format string of the message to log.
The format arguments.
Logs a formatted message to the Unity Console.
The format string of the message to log.
The format arguments.
Logs a formatted message to the Unity Console.
The object to which this message applies.
The format string of the message to log.
The format arguments.
Logs a warning message to the Unity Console.
The message to log.
Logs a warning message to the Unity Console.
The message to log.
Logs a warning message to the Unity Console.
The message to log.
The object to which the message applies.
Logs a warning message to the Unity Console.
The message to log.
The object to which the message applies.
Logs a formatted warning message to the Unity Console.
The format string of the message to log.
The format arguments.
Logs a formatted warning message to the Unity Console.
The object to which this message applies.
The format string of the message to log.
The format arguments.
Draws an ellipse with the specified color.
The center point of the ellipse.
The radius of the ellipse.
The number of segments to generate.
Draws an ellipse with the specified color.
The center point of the ellipse.
The radius of the ellipse.
The number of segments to generate.
The color of the ellipse.
Draws an ellipse with the specified color and duration.
The center point of the ellipse.
The radius of the ellipse.
The number of segments to generate.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
Draws an ellipse with the specified color and duration.
The center point of the ellipse.
The radius of the ellipse.
The number of segments to generate.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the ellipse be obscured by objects closer to the camera.
Draws an ellipse.
The center point of the ellipse.
The radius of the ellipse.
The number of segments to generate.
The drawing offset of the ellipse.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the ellipse be obscured by objects closer to the camera.
Draws an ellipse with the specified color.
The center point of the ellipse.
The horizontal radius of the ellipse.
The vertical radius of the ellipse.
The number of segments to generate.
Draws an ellipse with the specified color.
The center point of the ellipse.
The horizontal radius of the ellipse.
The vertical radius of the ellipse.
The number of segments to generate.
The color of the ellipse.
Draws an ellipse with the specified color and duration.
The center point of the ellipse.
The horizontal radius of the ellipse.
The vertical radius of the ellipse.
The number of segments to generate.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
Draws an ellipse with the specified color and duration.
The center point of the ellipse.
The horizontal radius of the ellipse.
The vertical radius of the ellipse.
The number of segments to generate.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the ellipse be obscured by objects closer to the camera.
Draws an ellipse.
The center point of the ellipse.
The horizontal radius of the ellipse.
The vertical radius of the ellipse.
The number of segments to generate.
The drawing offset of the ellipse.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the ellipse be obscured by objects closer to the camera.
Draws an ellipse with the specified color.
The ellipse to draw.
The number of segments to generate.
Draws an ellipse with the specified color.
The ellipse to draw.
The number of segments to generate.
The drawing offset of the ellipse.
Draws an ellipse with the specified color.
The ellipse to draw.
The number of segments to generate.
The color of the ellipse.
Draws an ellipse with the specified color.
The ellipse to draw.
The number of segments to generate.
The drawing offset of the ellipse.
The color of the ellipse.
Draws an ellipse with the specified color and duration.
The ellipse to draw.
The number of segments to generate.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
Draws an ellipse with the specified color and duration.
The ellipse to draw.
The number of segments to generate.
The drawing offset of the ellipse.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
Draws an ellipse with the specified color and duration.
The ellipse to draw.
The number of segments to generate.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the ellipse be obscured by objects closer to the camera.
Draws an ellipse.
The ellipse to draw.
The number of segments to generate.
The drawing offset of the ellipse.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the ellipse be obscured by objects closer to the camera.
Draws an ellipse with the specified color.
The ellipse to draw.
The number of segments to generate.
Draws an ellipse with the specified color.
The ellipse to draw.
The number of segments to generate.
The drawing offset of the ellipse.
Draws an ellipse with the specified color.
The ellipse to draw.
The number of segments to generate.
The color of the ellipse.
Draws an ellipse with the specified color.
The ellipse to draw.
The number of segments to generate.
The drawing offset of the ellipse.
The color of the ellipse.
Draws an ellipse with the specified color and duration.
The ellipse to draw.
The number of segments to generate.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
Draws an ellipse with the specified color and duration.
The ellipse to draw.
The number of segments to generate.
The drawing offset of the ellipse.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
Draws an ellipse with the specified color and duration.
The ellipse to draw.
The number of segments to generate.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the ellipse be obscured by objects closer to the camera.
Draws an ellipse.
The ellipse to draw.
The number of segments to generate.
The drawing offset of the ellipse.
The color of the ellipse.
The duration of the ellipse's visibility, in seconds. If 0 is passed, the ellipse is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the ellipse be obscured by objects closer to the camera.
Draws a line between start and end points.
The starting point.
The ending point.
Draws a line between start and end points, with the specified color.
The starting point.
The ending point.
The color of the line.
Draws a line between start and end points, with the specified color.
The starting point.
The ending point.
The color of the line.
The duration of the line's visibility, in seconds. If 0 is passed, the line is visible for a single frame.
Draws a line between start and end points, with the specified color.
The starting point.
The ending point.
The color of the line.
The duration of the line's visibility, in seconds. If 0 is passed, the line is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the line be obscured by objects closer to the camera.
Draws a line between start and end points.
The line to draw.
Draws a line between start and end points, with the specified color.
The line to draw.
The color of the line.
Draws a line between start and end points, with the specified color.
The line to draw.
The color of the line.
The duration of the line's visibility, in seconds. If 0 is passed, the line is visible for a single frame.
Draws a line between start and end points, with the specified color.
The line to draw.
The color of the line.
The duration of the line's visibility, in seconds. If 0 is passed, the line is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the line be obscured by objects closer to the camera.
Draws a line between start and end points.
The line to draw.
Draws a line between start and end points, with the specified color.
The line to draw.
The color of the line.
Draws a line between start and end points, with the specified color.
The line to draw.
The color of the line.
The duration of the line's visibility, in seconds. If 0 is passed, the line is visible for a single frame.
Draws a line between start and end points, with the specified color.
The line to draw.
The color of the line.
The duration of the line's visibility, in seconds. If 0 is passed, the line is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the line be obscured by objects closer to the camera.
Draws a line between start and end points.
The line to draw.
Draws a line between start and end points, with the specified color.
The line to draw.
The color of the line.
Draws a line between start and end points, with the specified color.
The line to draw.
The color of the line.
The duration of the line's visibility, in seconds. If 0 is passed, the line is visible for a single frame.
Draws a line between start and end points, with the specified color.
The line to draw.
The color of the line.
The duration of the line's visibility, in seconds. If 0 is passed, the line is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the line be obscured by objects closer to the camera.
Draws a polygon.
The polygon to draw.
Draws a polygon.
The polygon to draw.
The drawing offset of the polygon.
Draws a polygon.
The polygon to draw.
The color to use for drawing.
Draws a polygon.
The polygon to draw.
The drawing offset of the polygon.
The color to use for drawing.
Draws a polygon.
The polygon to draw.
The color to use for drawing.
The duration of the polygon's visibility, in seconds. If 0 is passed, the polygon is visible for a single frame.
Draws a polygon.
The polygon to draw.
The drawing offset of the polygon.
The color to use for drawing.
The duration of the polygon's visibility, in seconds. If 0 is passed, the polygon is visible for a single frame.
Draws a polygon.
The polygon to draw.
The color to use for drawing.
The duration of the polygon's visibility, in seconds. If 0 is passed, the polygon is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a polygon.
The polygon to draw.
The drawing offset of the polygon.
The color to use for drawing.
The duration of the polygon's visibility, in seconds. If 0 is passed, the polygon is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a polygon.
The polygon to draw.
Draws a polygon.
The polygon to draw.
The drawing offset of the polygon.
Draws a polygon.
The polygon to draw.
The color to use for drawing.
Draws a polygon.
The polygon to draw.
The drawing offset of the polygon.
The color to use for drawing.
Draws a polygon.
The polygon to draw.
The color to use for drawing.
The duration of the polygon's visibility, in seconds. If 0 is passed, the polygon is visible for a single frame.
Draws a polygon.
The polygon to draw.
The drawing offset of the polygon.
The color to use for drawing.
The duration of the polygon's visibility, in seconds. If 0 is passed, the polygon is visible for a single frame.
Draws a polygon.
The polygon to draw.
The color to use for drawing.
The duration of the polygon's visibility, in seconds. If 0 is passed, the polygon is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a polygon.
The polygon to draw.
The drawing offset of the polygon.
The color to use for drawing.
The duration of the polygon's visibility, in seconds. If 0 is passed, the polygon is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a polyhedron.
The polyhedron to draw.
Draws a polyhedron.
The polyhedron to draw.
The drawing offset of the polyhedron.
Draws a polyhedron.
The polyhedron to draw.
The color to use for drawing.
Draws a polyhedron.
The polyhedron to draw.
The drawing offset of the polyhedron.
The color to use for drawing.
Draws a polyhedron.
The polyhedron to draw.
The color to use for drawing.
The duration of the polyhedron's visibility, in seconds. If 0 is passed, the polyhedron is visible for a single frame.
Draws a polyhedron.
The polyhedron to draw.
The drawing offset of the polyhedron.
The color to use for drawing.
The duration of the polyhedron's visibility, in seconds. If 0 is passed, the polyhedron is visible for a single frame.
Draws a polyhedron.
The polyhedron to draw.
The color to use for drawing.
The duration of the polyhedron's visibility, in seconds. If 0 is passed, the polyhedron is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a polyhedron.
The polyhedron to draw.
The drawing offset of the polyhedron.
The color to use for drawing.
The duration of the polyhedron's visibility, in seconds. If 0 is passed, the polyhedron is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a ray.
The ray to draw.
Draws a ray.
The ray to draw.
The color of the line.
Draws a ray.
The ray to draw.
The color of the line.
The duration of the line's visibility, in seconds. If 0 is passed, the line is visible for a single frame.
Draws a ray.
The ray to draw.
The color of the line.
The duration of the line's visibility, in seconds. If 0 is passed, the line is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the line be obscured by objects closer to the camera.
Draws a ray.
The starting point.
The direction.
Draws a ray.
The starting point.
The direction.
The color of the line.
Draws a ray.
The starting point.
The direction.
The color of the line.
The duration of the line's visibility, in seconds. If 0 is passed, the line is visible for a single frame.
Draws a ray.
The starting point.
The direction.
The color of the line.
The duration of the line's visibility, in seconds. If 0 is passed, the line is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the line be obscured by objects closer to the camera.
Draws a rectangle.
The center point.
The extents of the box.
Draws a rectangle with the specified color.
The center point.
The extents of the box.
The color of the box.
Draws a rectangle with the specified color and duration.
The center point.
The extents of the box.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
Draws a rectangle with the specified color and duration.
The center point.
The extents of the box.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a rectangle with the specified color.
The rectangle to draw.
The color of the box.
Draws a rectangle with the specified color and duration.
The rectangle to draw.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
Draws a rectangle with the specified color and duration.
The rectangle to draw.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a rectangle with the specified color.
The rectangle to draw.
The color of the box.
Draws a rectangle with the specified color and duration.
The rectangle to draw.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
Draws a rectangle with the specified color and duration.
The rectangle to draw.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a rectangle with the specified color.
The rectangle to draw.
The color of the box.
Draws a rectangle with the specified color and duration.
The rectangle to draw.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
Draws a rectangle with the specified color and duration.
The rectangle to draw.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a rectangle with the specified color.
The rectangle to draw.
The color of the box.
Draws a rectangle with the specified color and duration.
The rectangle to draw.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
Draws a rectangle with the specified color and duration.
The rectangle to draw.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a sphere with the specified color.
The center point of the sphere.
The radius of the sphere.
The number of segments to generate.
Draws a sphere with the specified color.
The center point of the sphere.
The radius of the sphere.
The number of segments to generate.
The color of the sphere.
Draws a sphere with the specified color and duration.
The center point of the sphere.
The radius of the sphere.
The number of segments to generate.
The color of the sphere.
The duration of the sphere's visibility, in seconds. If 0 is passed, the sphere is visible for a single frame.
Draws a sphere with the specified color and duration.
The center point of the sphere.
The radius of the sphere.
The number of segments to generate.
The color of the sphere.
The duration of the sphere's visibility, in seconds. If 0 is passed, the sphere is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the sphere be obscured by objects closer to the camera.
Draws a sphere.
The center point of the sphere.
The radius of the sphere.
The number of segments to generate.
The drawing offset of the sphere.
The color of the sphere.
The duration of the sphere's visibility, in seconds. If 0 is passed, the sphere is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the sphere be obscured by objects closer to the camera.
Draws a sphere with the specified color.
The sphere to draw.
The number of segments to generate.
Draws a sphere with the specified color.
The sphere to draw.
The number of segments to generate.
The drawing offset of the sphere.
Draws a sphere with the specified color.
The sphere to draw.
The number of segments to generate.
The color of the sphere.
Draws a sphere with the specified color.
The sphere to draw.
The number of segments to generate.
The drawing offset of the sphere.
The color of the sphere.
Draws a sphere with the specified color and duration.
The sphere to draw.
The number of segments to generate.
The color of the sphere.
The duration of the sphere's visibility, in seconds. If 0 is passed, the sphere is visible for a single frame.
Draws a sphere with the specified color and duration.
The sphere to draw.
The number of segments to generate.
The drawing offset of the sphere.
The color of the sphere.
The duration of the sphere's visibility, in seconds. If 0 is passed, the sphere is visible for a single frame.
Draws a sphere with the specified color and duration.
The sphere to draw.
The number of segments to generate.
The color of the sphere.
The duration of the sphere's visibility, in seconds. If 0 is passed, the sphere is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the sphere be obscured by objects closer to the camera.
Draws a sphere.
The sphere to draw.
The number of segments to generate.
The drawing offset of the sphere.
The color of the sphere.
The duration of the sphere's visibility, in seconds. If 0 is passed, the sphere is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the sphere be obscured by objects closer to the camera.
Draws an axis-aligned bounding box.
The bounding box to draw.
Draws an axis-aligned bounding box.
The bounding box to draw.
The color of the box.
Draws an axis-aligned bounding box.
The bounding box to draw.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
Draws an axis-aligned bounding box.
The bounding box to draw.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a wireframe cube with a center and a size.
The center point.
The extents of the box.
Draws a wireframe cube with the specified orientation.
The center point.
The extents of the box.
The orientation of the box.
Draws a wireframe cube with the specified color.
The center point.
The extents of the box.
The color of the box.
Draws a wireframe cube with the specified orientation and color.
The center point.
The extents of the box.
The orientation of the box.
The color of the box.
Draws a wireframe cube with the specified color and duration.
The center point.
The extents of the box.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
Draws a wireframe cube with the specified orientation, color, and duration.
The center point.
The extents of the box.
The orientation of the box.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
Draws a wireframe cube with the specified color and duration.
The center point.
The extents of the box.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a wireframe cube with the specified orientation, color, and duration.
The center point.
The extents of the box.
The orientation of the box.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Draws a wireframe cube with the specified color.
The cuboid to draw.
The color of the box.
Draws a wireframe cube with the specified color and duration.
The cuboid to draw.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
Draws a wireframe cube with the specified color and duration.
The cuboid to draw.
The color of the box.
The duration of the box's visibility, in seconds. If 0 is passed, the box is visible for a single frame.
if depth test should be applied; otherwise, . Passing
will have the box be obscured by objects closer to the camera.
Drawing-related extensions for .
Deconstructs the current color into its RGB components.
The source color.
When this method returns, contains the component of .
When this method returns, contains the component of .
When this method returns, contains the component of .
When this method returns, contains the component of .
Deconstructs the current color into its RGB components.
The source color.
When this method returns, contains the component of .
When this method returns, contains the component of .
When this method returns, contains the component of .
Returns a which most closely resembles the current color.
The source color.
The closest .
Returns a new with the red, green, and blue components inverted. Alpha is not affected.
The color to invert.
The inverted color.
Converts the current color to a .
The color to convert.
The converted color.
Converts the current color to a .
The color to convert.
The converted 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 .
Deconstructs the current color into its ARGB components.
The source color.
When this method returns, contains the component of .
When this method returns, contains the component of .
When this method returns, contains the component of .
When this method returns, contains the component of .
Deconstructs the current color into its RGB components.
The source color.
When this method returns, contains the component of .
When this method returns, contains the component of .
When this method returns, contains the component of .
Returns a which most closely resembles the current color.
The source color.
The closest .
Returns a new with the red, green, and blue components inverted. Alpha is not affected.
The color to invert.
The inverted color.
Converts the current color to a .
The color to convert.
The converted color.
Converts the current color to a .
The color to convert.
The converted 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 extension methods for .
Converts the current to a .
The point to convert.
The resulting .
Converts the current to a .
The point to convert.
The resulting .
Drawing-related extension methods for .
Determines if the current lies on the specified .
The point to check.
The starting point of the line.
The ending point of the line.
if lies on the line defined by and
; otherwise .
Converts the current to a .
The point to convert.
The resulting .
Drawing-related extension methods for .
Adds a vertex to this polygon.
The polygon whose points to update.
The point to add.
Adds a collection of vertices to this polygon.
The polygon whose vertices to update.
The vertices to add.
Drawing-related extension methods for .
Adds a point to this polygon.
The polygon whose vertices to update.
The vertex to add.
Adds a point to this polygon.
The polygon whose vertices to update.
The vertex to add.
Adds a collection of vertices to this polygon.
The polygon whose vertices to update.
The vertices to add.
Adds a collection of vertices to this polygon.
The polygon whose vertices to update.
The vertices to add.
Drawing-related extension methods for .
Adds a vertex to this polyhedron.
The polyhedron whose vertices to update.
The vertex to add.
Adds a vertex to this polyhedron.
The polyhedron whose vertices to update.
The vertex to add.
Adds a collection of vertices to this polyhedron.
The polyhedron whose vertices to update.
The vertices to add.
Adds a collection of vertices to this polyhedron.
The polyhedron whose vertices to update.
The vertices to add.
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 .
Drawing-related extension methods for .
Converts the current to a .
The rectangle to convert.
The converted rectangle.
Converts the current to a .
The rectangle to convert.
The converted rectangle.
Drawing-related extension methods for .
Converts the current to a .
The rectangle to convert.
The converted rectangle.
Drawing-related extension methods for .
Converts the current to a .
The rectangle to convert.
The converted rectangle.
Drawing-related extension methods for .
Converts the current to a .
The rectangle to convert.
The converted rectangle.
Converts the current to a .
The rectangle to convert.
The converted rectangle.
Drawing-related extension methods for .
Converts the current to a .
The size to convert.
The resulting .
Converts the current to a .
The size to convert.
The resulting .
Drawing-related extension methods for .
Converts the current to a .
The size to convert.
The resulting .
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 .
Deconstructs the current into its components.
The vector to deconstruct.
The X component value.
The Y component value.
Determines if the current lies on the specified .
The point to check.
The line on which the point may lie.
if lies on the line defined by ; otherwise
.
Determines if the current lies on the specified line.
The point to check.
The starting point of the line.
The ending point of the line.
if lies on the line defined by and
; otherwise .
Determines if the current lies on the specified line.
The point to check.
The starting point of the line.
The ending point of the line.
if lies on the line defined by and
; otherwise .
Rounds the components in the current to the nearest integer.
The vector whose components to round.
The rounded vector.
Rounds the components in the current to the nearest multiple of a specified number.
The vector whose components to round.
The nearest multiple to which the components should be rounded.
The rounded vector.
Converts the current into a .
The vector to convert.
The resulting .
Converts the current into a .
The vector to convert.
The resulting .
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 .
Deconstructs the current into its components.
The vector to deconstruct.
The X component value.
The Y component value.
Determines if the current lies on the specified .
The point to check.
The line on which the point may lie.
if lies on the line defined by ; otherwise
.
Determines if the current lies on the specified line.
The point to check.
The starting point of the line.
The ending point of the line.
if lies on the line defined by and
; otherwise .
Determines if the current lies on the specified line.
The point to check.
The starting point of the line.
The ending point of the line.
if lies on the line defined by and
; otherwise .
Determines if the current lies on the specified line.
The point to check.
The starting point of the line.
The ending point of the line.
if lies on the line defined by and
; otherwise .
Converts the current into a .
The vector to convert.
The resulting .
Converts the current into a .
The vector to convert.
The resulting .
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 .
Deconstructs the current into its components.
The vector to deconstruct.
The X component value.
The Y component value.
The Z component value.
Rounds the components in the current to the nearest integer.
The vector whose components to round.
The rounded vector.
Rounds the components in the current to the nearest multiple of a specified number.
The vector whose components to round.
The nearest multiple to which the components should be rounded.
The rounded vector.
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 .
Deconstructs the current into its components.
The vector to deconstruct.
The X component value.
The Y component value.
The Z component value.
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 .
Deconstructs the current into its components.
The vector to deconstruct.
The X component value.
The Y component value.
The Z component value.
The W component value.
Rounds the components in the current to the nearest integer.
The vector whose components to round.
The rounded vector.
Rounds the components in the current to the nearest multiple of a specified number.
The vector whose components to round.
The nearest multiple to which the components should be rounded.
The rounded vector.
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 .
Represents a yield instruction that waits for a specific number of frames.
Initializes a new instance of the struct.
The frame count.
Represents a yield instruction that waits for a key to be pressed.
Initializes a new instance of the struct.
The key to wait for.
Represents a yield instruction that waits for a key to be released.
Initializes a new instance of the struct.
The key to wait for.
Represents a yield instruction which waits for a specified amount of seconds.
This struct exists as an allocation-free alternative to .
Initializes a new instance of the struct.
The duration of the pause, in seconds.
Represents a yield instruction which waits for a given amount of time, as provided by a .
This struct exists as an allocation-free alternative to .
Initializes a new instance of the struct.
The duration of the pause, in seconds.
Represents a yield instruction which waits for a given amount of time, as provided by a .
Initializes a new instance of the struct.
The duration of the pause.
Represents a yield instruction which waits for a given amount of time, as provided by a .
Initializes a new instance of the struct.
The duration of the pause.