CommonLang
Create a bounding box from the given list of points.
The list of Vector3 instances defining the point cloud to bound
A bounding box that encapsulates the given point cloud.
Thrown if the given list has no points.
Defines a viewing frustum for intersection operations.
The number of planes in the frustum.
The number of corner points in the frustum.
Gets or sets the of the frustum.
Gets the near plane of the frustum.
Gets the far plane of the frustum.
Gets the left plane of the frustum.
Gets the right plane of the frustum.
Gets the top plane of the frustum.
Gets the bottom plane of the frustum.
Constructs the frustum by extracting the view planes from a matrix.
Combined matrix which usually is (View * Projection).
Compares whether two instances are equal.
instance on the left of the equal sign.
instance on the right of the equal sign.
true if the instances are equal; false otherwise.
Compares whether two instances are not equal.
instance on the left of the not equal sign.
instance on the right of the not equal sign.
true if the instances are not equal; false otherwise.
Containment test between this and specified .
A for testing.
Result of testing for containment between this and specified .
Containment test between this and specified .
A for testing.
Result of testing for containment between this and specified as an output parameter.
Containment test between this and specified .
A for testing.
Result of testing for containment between this and specified .
Containment test between this and specified .
A for testing.
Result of testing for containment between this and specified .
Containment test between this and specified .
A for testing.
Result of testing for containment between this and specified as an output parameter.
Containment test between this and specified .
A for testing.
Result of testing for containment between this and specified .
Containment test between this and specified .
A for testing.
Result of testing for containment between this and specified as an output parameter.
Compares whether current instance is equal to specified .
The to compare.
true if the instances are equal; false otherwise.
Compares whether current instance is equal to specified .
The to compare.
true if the instances are equal; false otherwise.
Returns a copy of internal corners array.
The array of corners.
Returns a copy of internal corners array.
The array which values will be replaced to corner values of this instance. It must have size of .
Gets the hash code of this .
Hash code of this .
Gets whether or not a specified intersects with this .
A for intersection test.
true if specified intersects with this ; false otherwise.
Gets whether or not a specified intersects with this .
A for intersection test.
true if specified intersects with this ; false otherwise as an output parameter.
Gets whether or not a specified intersects with this .
An other for intersection test.
true if other intersects with this ; false otherwise.
Gets whether or not a specified intersects with this .
A for intersection test.
true if specified intersects with this ; false otherwise.
Gets whether or not a specified intersects with this .
A for intersection test.
true if specified intersects with this ; false otherwise as an output parameter.
Gets type of intersection between specified and this .
A for intersection test.
A plane intersection type.
Gets type of intersection between specified and this .
A for intersection test.
A plane intersection type as an output parameter.
Gets the distance of intersection of and this or null if no intersection happens.
A for intersection test.
Distance at which ray intersects with this or null if no intersection happens.
Gets the distance of intersection of and this or null if no intersection happens.
A for intersection test.
Distance at which ray intersects with this or null if no intersection happens as an output parameter.
Returns a representation of this in the format:
{Near:[nearPlane] Far:[farPlane] Left:[leftPlane] Right:[rightPlane] Top:[topPlane] Bottom:[bottomPlane]}
representation of this .
A code container for collision-related mathematical functions.
Data defining a circle/line collision result.
Also used for circle/rectangles.
Determine if two circles intersect or contain each other.
The center of the first circle.
The radius of the first circle.
The center of the second circle.
The radius of the second circle.
True if the circles intersect or contain one another.
Determines the point of intersection between two line segments,
as defined by four points.
The first point on the first line segment.
The second point on the first line segment.
The first point on the second line segment.
The second point on the second line segment.
The output value with the interesection, if any.
The output parameter "point" is only valid
when the return value is true.
True if intersecting, false otherwise.
Determines if a circle and line segment intersect, and if so, how they do.
The center of the circle.
The radius of the circle.
The first point on the line segment.
The second point on the line segment.
The result data for the collision.
True if a collision occurs, provided for convenience.
点在凸多边形内部。
Defines how the bounding volumes intersects or contain one another.
Indicates that there is no overlap between two bounding volumes.
Indicates that one bounding volume completely contains another volume.
Indicates that bounding volumes partially overlap one another.
Contains a collection of points in 2D space and provides methods for evaluating features of the curve they define.
Returns true if this curve is constant (has zero or one points); false otherwise.
The collection of curve keys.
Defines how to handle weighting values that are greater than the last control point in the curve.
Defines how to handle weighting values that are less than the first control point in the curve.
Constructs a curve.
Creates a copy of this curve.
A copy of this curve.
Evaluate the value at a position of this .
The position on this .
Value at the position on this .
Computes tangents for all keys in the collection.
The tangent type for both in and out.
Computes tangents for all keys in the collection.
The tangent in-type. for more details.
The tangent out-type. for more details.
Computes tangent for the specific key in the collection.
The index of a key in the collection.
The tangent type for both in and out.
Computes tangent for the specific key in the collection.
The index of key in the collection.
The tangent in-type. for more details.
The tangent out-type. for more details.
Defines the continuity of keys on a .
Interpolation can be used between this key and the next.
Interpolation cannot be used. A position between the two points returns this point.
Key point on the .
Gets or sets the indicator whether the segment between this point and the next point on the curve is discrete or continuous.
Gets a position of the key on the curve.
Gets or sets a tangent when approaching this point from the previous point on the curve.
Gets or sets a tangent when leaving this point to the next point on the curve.
Gets a value of this point.
Creates a new instance of class with position: 0 and value: 0.
Creates a new instance of class.
Position on the curve.
Value of the control point.
Creates a new instance of class.
Position on the curve.
Value of the control point.
Tangent approaching point from the previous point on the curve.
Tangent leaving point toward next point on the curve.
Creates a new instance of class.
Position on the curve.
Value of the control point.
Tangent approaching point from the previous point on the curve.
Tangent leaving point toward next point on the curve.
Indicates whether the curve is discrete or continuous.
Compares whether two instances are not equal.
instance on the left of the not equal sign.
instance on the right of the not equal sign.
true if the instances are not equal; false otherwise.
Compares whether two instances are equal.
instance on the left of the equal sign.
instance on the right of the equal sign.
true if the instances are equal; false otherwise.
Creates a copy of this key.
A copy of this key.
The collection of the elements and a part of the class.
Indexer.
The index of key in this collection.
at position.
Returns the count of keys in this collection.
Returns false because it is not a read-only collection.
Creates a new instance of class.
Adds a key to this collection.
New key for the collection.
Throws if is null.
The new key would be added respectively to a position of that key and the position of other keys.
Removes all keys from this collection.
Creates a copy of this collection.
A copy of this collection.
Determines whether this collection contains a specific key.
The key to locate in this collection.
true if the key is found; false otherwise.
Copies the keys of this collection to an array, starting at the array index provided.
Destination array where elements will be copied.
The zero-based index in the array to start copying from.
Returns an enumerator that iterates through the collection.
An enumerator for the .
Finds element in the collection and returns its index.
Element for the search.
Index of the element; or -1 if item is not found.
Removes element at the specified index.
The index which element will be removed.
Removes specific element.
The element
true if item is successfully removed; false otherwise. This method also returns false if item was not found.
Defines how the value is determined for position before first point or after the end point on the .
The value of will be evaluated as first point for positions before the beginning and end point for positions after the end.
The positions will wrap around from the end to beginning of the for determined the value.
The positions will wrap around from the end to beginning of the .
The value will be offset by the difference between the values of first and end multiplied by the wrap amount.
If the position is before the beginning of the the difference will be subtracted from its value; otherwise the difference will be added.
The value at the end of the act as an offset from the same side of the toward the opposite side.
The linear interpolation will be performed for determined the value.
Defines the different tangent types to be calculated for points in a .
The tangent which always has a value equal to zero.
The tangent which contains a difference between current tangent value and the tangent value from the previous .
The smoouth tangent which contains the inflection between and by taking into account the values of both neighbors of the .
Color RGB
本地坐标转换为父节点坐标
父节点坐标转换为本地坐标
屏幕坐标转换为本地坐标
本地坐标转换为屏幕坐标
获取所有节点
获取场景数路径,从当前节点一直到根节点
遍历所有节点
return true for break
子节点前渲染
子节点后渲染
Contains commonly used precalculated values and mathematical operations.
Represents the mathematical constant e(2.71828175).
Represents the log base ten of e(0.4342945).
Represents the log base two of e(1.442695).
Represents the value of pi(3.14159274).
Represents the value of pi divided by two(1.57079637).
Represents the value of pi divided by four(0.7853982).
Represents the value of pi times two(6.28318548).
Returns the Cartesian coordinate for one axis of a point that is defined by a given triangle and two normalized barycentric (areal) coordinates.
The coordinate on one axis of vertex 1 of the defining triangle.
The coordinate on the same axis of vertex 2 of the defining triangle.
The coordinate on the same axis of vertex 3 of the defining triangle.
The normalized barycentric (areal) coordinate b2, equal to the weighting factor for vertex 2, the coordinate of which is specified in value2.
The normalized barycentric (areal) coordinate b3, equal to the weighting factor for vertex 3, the coordinate of which is specified in value3.
Cartesian coordinate of the specified point with respect to the axis being used.
Performs a Catmull-Rom interpolation using the specified positions.
The first position in the interpolation.
The second position in the interpolation.
The third position in the interpolation.
The fourth position in the interpolation.
Weighting factor.
A position that is the result of the Catmull-Rom interpolation.
Restricts a value to be within a specified range.
The value to clamp.
The minimum value. If value is less than min, min will be returned.
The maximum value. If value is greater than max, max will be returned.
The clamped value.
Restricts a value to be within a specified range.
The value to clamp.
The minimum value. If value is less than min, min will be returned.
The maximum value. If value is greater than max, max will be returned.
The clamped value.
Calculates the absolute value of the difference of two values.
Source value.
Source value.
Distance between the two values.
Performs a Hermite spline interpolation.
Source position.
Source tangent.
Source position.
Source tangent.
Weighting factor.
The result of the Hermite spline interpolation.
Linearly interpolates between two values.
Source value.
Source value.
Value between 0 and 1 indicating the weight of value2.
Interpolated value.
This method performs the linear interpolation based on the following formula.
value1 + (value2 - value1) * amount
Passing amount a value of 0 will cause value1 to be returned, a value of 1 will cause value2 to be returned.
Returns the greater of two values.
Source value.
Source value.
The greater value.
Returns the greater of two values.
Source value.
Source value.
The greater value.
Returns the lesser of two values.
Source value.
Source value.
The lesser value.
Returns the lesser of two values.
Source value.
Source value.
The lesser value.
Interpolates between two values using a cubic equation.
Source value.
Source value.
Weighting value.
Interpolated value.
Converts radians to degrees.
The angle in radians.
The angle in degrees.
This method uses double precission internally,
though it returns single float
Factor = 180 / pi
Converts degrees to radians.
The angle in degrees.
The angle in radians.
This method uses double precission internally,
though it returns single float
Factor = pi / 180
Reduces a given angle to a value between π and -π.
The angle to reduce, in radians.
The new angle, in radians.
Determines if value is powered by two.
A value.
true if value is powered by two; otherwise false.
Represents the right-handed 4x4 floating point matrix, which can store translation, scale and rotation information.
Constructs a matrix.
A first row and first column value.
A first row and second column value.
A first row and third column value.
A first row and fourth column value.
A second row and first column value.
A second row and second column value.
A second row and third column value.
A second row and fourth column value.
A third row and first column value.
A third row and second column value.
A third row and third column value.
A third row and fourth column value.
A fourth row and first column value.
A fourth row and second column value.
A fourth row and third column value.
A fourth row and fourth column value.
Constructs a matrix.
A first row of the created matrix.
A second row of the created matrix.
A third row of the created matrix.
A fourth row of the created matrix.
A first row and first column value.
A first row and second column value.
A first row and third column value.
A first row and fourth column value.
A second row and first column value.
A second row and second column value.
A second row and third column value.
A second row and fourth column value.
A third row and first column value.
A third row and second column value.
A third row and third column value.
A third row and fourth column value.
A fourth row and first column value.
A fourth row and second column value.
A fourth row and third column value.
A fourth row and fourth column value.
The backward vector formed from the third row M31, M32, M33 elements.
The down vector formed from the second row -M21, -M22, -M23 elements.
The forward vector formed from the third row -M31, -M32, -M33 elements.
Returns the identity matrix.
The left vector formed from the first row -M11, -M12, -M13 elements.
The right vector formed from the first row M11, M12, M13 elements.
Rotation stored in this matrix.
Position stored in this matrix.
Scale stored in this matrix.
The upper vector formed from the second row M21, M22, M23 elements.
Creates a new which contains sum of two matrixes.
The first matrix to add.
The second matrix to add.
The result of the matrix addition.
Creates a new which contains sum of two matrixes.
The first matrix to add.
The second matrix to add.
The result of the matrix addition as an output parameter.
Creates a new for spherical billboarding that rotates around specified object position.
Position of billboard object. It will rotate around that vector.
The camera position.
The camera up vector.
Optional camera forward vector.
The for spherical billboarding.
Creates a new for spherical billboarding that rotates around specified object position.
Position of billboard object. It will rotate around that vector.
The camera position.
The camera up vector.
Optional camera forward vector.
The for spherical billboarding as an output parameter.
Creates a new for cylindrical billboarding that rotates around specified axis.
Object position the billboard will rotate around.
Camera position.
Axis of billboard for rotation.
Optional camera forward vector.
Optional object forward vector.
The for cylindrical billboarding.
Creates a new for cylindrical billboarding that rotates around specified axis.
Object position the billboard will rotate around.
Camera position.
Axis of billboard for rotation.
Optional camera forward vector.
Optional object forward vector.
The for cylindrical billboarding as an output parameter.
Creates a new which contains the rotation moment around specified axis.
The axis of rotation.
The angle of rotation in radians.
The rotation .
Creates a new which contains the rotation moment around specified axis.
The axis of rotation.
The angle of rotation in radians.
The rotation as an output parameter.
Creates a new rotation from a .
of rotation moment.
The rotation .
Creates a new rotation from a .
of rotation moment.
The rotation as an output parameter.
Creates a new rotation from the specified yaw, pitch and roll values.
The yaw rotation value in radians.
The pitch rotation value in radians.
The roll rotation value in radians.
The rotation .
For more information about yaw, pitch and roll visit http://en.wikipedia.org/wiki/Euler_angles.
Creates a new rotation from the specified yaw, pitch and roll values.
The yaw rotation value in radians.
The pitch rotation value in radians.
The roll rotation value in radians.
The rotation as an output parameter.
For more information about yaw, pitch and roll visit http://en.wikipedia.org/wiki/Euler_angles.
Creates a new viewing .
Position of the camera.
Lookup vector of the camera.
The direction of the upper edge of the camera.
The viewing .
Creates a new viewing .
Position of the camera.
Lookup vector of the camera.
The direction of the upper edge of the camera.
The viewing as an output parameter.
Creates a new projection for orthographic view.
Width of the viewing volume.
Height of the viewing volume.
Depth of the near plane.
Depth of the far plane.
The new projection for orthographic view.
Creates a new projection for orthographic view.
Width of the viewing volume.
Height of the viewing volume.
Depth of the near plane.
Depth of the far plane.
The new projection for orthographic view as an output parameter.
Creates a new projection for customized orthographic view.
Lower x-value at the near plane.
Upper x-value at the near plane.
Lower y-coordinate at the near plane.
Upper y-value at the near plane.
Depth of the near plane.
Depth of the far plane.
The new projection for customized orthographic view.
Creates a new projection for customized orthographic view.
The viewing volume.
Depth of the near plane.
Depth of the far plane.
The new projection for customized orthographic view.
Creates a new projection for customized orthographic view.
Lower x-value at the near plane.
Upper x-value at the near plane.
Lower y-coordinate at the near plane.
Upper y-value at the near plane.
Depth of the near plane.
Depth of the far plane.
The new projection for customized orthographic view as an output parameter.
Creates a new projection for perspective view.
Width of the viewing volume.
Height of the viewing volume.
Distance to the near plane.
Distance to the far plane.
The new projection for perspective view.
Creates a new projection for perspective view.
Width of the viewing volume.
Height of the viewing volume.
Distance to the near plane.
Distance to the far plane.
The new projection for perspective view as an output parameter.
Creates a new projection for perspective view with field of view.
Field of view in the y direction in radians.
Width divided by height of the viewing volume.
Distance to the near plane.
Distance to the far plane.
The new projection for perspective view with FOV.
Creates a new projection for perspective view with field of view.
Field of view in the y direction in radians.
Width divided by height of the viewing volume.
Distance of the near plane.
Distance of the far plane.
The new projection for perspective view with FOV as an output parameter.
Creates a new projection for customized perspective view.
Lower x-value at the near plane.
Upper x-value at the near plane.
Lower y-coordinate at the near plane.
Upper y-value at the near plane.
Distance to the near plane.
Distance to the far plane.
The new for customized perspective view.
Creates a new projection for customized perspective view.
The viewing volume.
Distance to the near plane.
Distance to the far plane.
The new for customized perspective view.
Creates a new projection for customized perspective view.
Lower x-value at the near plane.
Upper x-value at the near plane.
Lower y-coordinate at the near plane.
Upper y-value at the near plane.
Distance to the near plane.
Distance to the far plane.
The new for customized perspective view as an output parameter.
Creates a new rotation around X axis.
Angle in radians.
The rotation around X axis.
Creates a new rotation around X axis.
Angle in radians.
The rotation around X axis as an output parameter.
Creates a new rotation around Y axis.
Angle in radians.
The rotation around Y axis.
Creates a new rotation around Y axis.
Angle in radians.
The rotation around Y axis as an output parameter.
Creates a new rotation around Z axis.
Angle in radians.
The rotation around Z axis.
Creates a new rotation around Z axis.
Angle in radians.
The rotation around Z axis as an output parameter.
Creates a new scaling .
Scale value for all three axises.
The scaling .
Creates a new scaling .
Scale value for all three axises.
The scaling as an output parameter.
Creates a new scaling .
Scale value for X axis.
Scale value for Y axis.
Scale value for Z axis.
The scaling .
Creates a new scaling .
Scale value for X axis.
Scale value for Y axis.
Scale value for Z axis.
The scaling as an output parameter.
Creates a new scaling .
representing x,y and z scale values.
The scaling .
Creates a new scaling .
representing x,y and z scale values.
The scaling as an output parameter.
Creates a new that flattens geometry into a specified as if casting a shadow from a specified light source.
A vector specifying the direction from which the light that will cast the shadow is coming.
The plane onto which the new matrix should flatten geometry so as to cast a shadow.
A that can be used to flatten geometry onto the specified plane from the specified direction.
Creates a new that flattens geometry into a specified as if casting a shadow from a specified light source.
A vector specifying the direction from which the light that will cast the shadow is coming.
The plane onto which the new matrix should flatten geometry so as to cast a shadow.
A that can be used to flatten geometry onto the specified plane from the specified direction as an output parameter.
Creates a new translation .
X coordinate of translation.
Y coordinate of translation.
Z coordinate of translation.
The translation .
Creates a new translation .
X,Y and Z coordinates of translation.
The translation as an output parameter.
Creates a new translation .
X,Y and Z coordinates of translation.
The translation .
Creates a new translation .
X coordinate of translation.
Y coordinate of translation.
Z coordinate of translation.
The translation as an output parameter.
Creates a new reflection .
The plane that used for reflection calculation.
The reflection .
Creates a new reflection .
The plane that used for reflection calculation.
The reflection as an output parameter.
Creates a new world .
The position vector.
The forward direction vector.
The upward direction vector. Usually .
The world .
Creates a new world .
The position vector.
The forward direction vector.
The upward direction vector. Usually .
The world as an output parameter.
Decomposes this matrix to translation, rotation and scale elements. Returns true if matrix can be decomposed; false otherwise.
Scale vector as an output parameter.
Rotation quaternion as an output parameter.
Translation vector as an output parameter.
true if matrix can be decomposed; false otherwise.
Returns a determinant of this .
Determinant of this
See more about determinant here - http://en.wikipedia.org/wiki/Determinant.
Divides the elements of a by the elements of another matrix.
Source .
Divisor .
The result of dividing the matrix.
Divides the elements of a by the elements of another matrix.
Source .
Divisor .
The result of dividing the matrix as an output parameter.
Divides the elements of a by a scalar.
Source .
Divisor scalar.
The result of dividing a matrix by a scalar.
Divides the elements of a by a scalar.
Source .
Divisor scalar.
The result of dividing a matrix by a scalar as an output parameter.
Compares whether current instance is equal to specified without any tolerance.
The to compare.
true if the instances are equal; false otherwise.
Compares whether current instance is equal to specified without any tolerance.
The to compare.
true if the instances are equal; false otherwise.
Gets the hash code of this .
Hash code of this .
Creates a new which contains inversion of the specified matrix.
Source .
The inverted matrix.
Creates a new which contains inversion of the specified matrix.
Source .
The inverted matrix as output parameter.
Creates a new that contains linear interpolation of the values in specified matrixes.
The first .
The second .
Weighting value(between 0.0 and 1.0).
>The result of linear interpolation of the specified matrixes.
Creates a new that contains linear interpolation of the values in specified matrixes.
The first .
The second .
Weighting value(between 0.0 and 1.0).
The result of linear interpolation of the specified matrixes as an output parameter.
Creates a new that contains a multiplication of two matrix.
Source .
Source .
Result of the matrix multiplication.
Creates a new that contains a multiplication of two matrix.
Source .
Source .
Result of the matrix multiplication as an output parameter.
Creates a new that contains a multiplication of and a scalar.
Source .
Scalar value.
Result of the matrix multiplication with a scalar.
Creates a new that contains a multiplication of and a scalar.
Source .
Scalar value.
Result of the matrix multiplication with a scalar as an output parameter.
Copy the values of specified to the float array.
The source .
The array which matrix values will be stored.
Required for OpenGL 2.0 projection matrix stuff.
Returns a matrix with the all values negated.
Source .
Result of the matrix negation.
Returns a matrix with the all values negated.
Source .
Result of the matrix negation as an output parameter.
Adds two matrixes.
Source on the left of the add sign.
Source on the right of the add sign.
Sum of the matrixes.
Divides the elements of a by the elements of another .
Source on the left of the div sign.
Divisor on the right of the div sign.
The result of dividing the matrixes.
Divides the elements of a by a scalar.
Source on the left of the div sign.
Divisor scalar on the right of the div sign.
The result of dividing a matrix by a scalar.
Compares whether two instances are equal without any tolerance.
Source on the left of the equal sign.
Source on the right of the equal sign.
true if the instances are equal; false otherwise.
Compares whether two instances are not equal without any tolerance.
Source on the left of the not equal sign.
Source on the right of the not equal sign.
true if the instances are not equal; false otherwise.
Multiplies two matrixes.
Source on the left of the mul sign.
Source on the right of the mul sign.
Result of the matrix multiplication.
Using matrix multiplication algorithm - see http://en.wikipedia.org/wiki/Matrix_multiplication.
Multiplies the elements of matrix by a scalar.
Source on the left of the mul sign.
Scalar value on the right of the mul sign.
Result of the matrix multiplication with a scalar.
Subtracts the values of one from another .
Source on the left of the sub sign.
Source on the right of the sub sign.
Result of the matrix subtraction.
Inverts values in the specified .
Source on the right of the sub sign.
Result of the inversion.
Creates a new that contains subtraction of one matrix from another.
The first .
The second .
The result of the matrix subtraction.
Creates a new that contains subtraction of one matrix from another.
The first .
The second .
The result of the matrix subtraction as an output parameter.
Returns a representation of this in the format:
{M11:[] M12:[] M13:[] M14:[]}
{M21:[] M12:[] M13:[] M14:[]}
{M31:[] M32:[] M33:[] M34:[]}
{M41:[] M42:[] M43:[] M44:[]}
A representation of this .
Swap the matrix rows and columns.
The matrix for transposing operation.
The new which contains the transposing result.
Swap the matrix rows and columns.
The matrix for transposing operation.
The new which contains the transposing result as an output parameter.
Helper method for using the Laplace expansion theorem using two rows expansions to calculate major and
minor determinants of a 4x4 matrix. This method is used for inverting a matrix.
Returns a value indicating what side (positive/negative) of a plane a point is
The point to check with
The plane to check against
Greater than zero if on the positive side, less than zero if on the negative size, 0 otherwise
Returns the perpendicular distance from a point to a plane
The point to check
The place to check
The perpendicular distance from the point to the plane
Transforms a normalized plane by a matrix.
The normalized plane to transform.
The transformation matrix.
The transformed plane.
Transforms a normalized plane by a matrix.
The normalized plane to transform.
The transformation matrix.
The transformed plane.
Transforms a normalized plane by a quaternion rotation.
The normalized plane to transform.
The quaternion rotation.
The transformed plane.
Transforms a normalized plane by a quaternion rotation.
The normalized plane to transform.
The quaternion rotation.
The transformed plane.
Defines the intersection between a and a bounding volume.
There is no intersection, the bounding volume is in the negative half space of the plane.
There is no intersection, the bounding volume is in the positive half space of the plane.
The plane is intersected.
Describes a 2D-point.
The x coordinate of this .
The y coordinate of this .
Returns a with coordinates 0, 0.
Constructs a point wit X and Y from two values.
The x coordinate in 2d-space.
The y coordinate in 2d-space.
Constructs a point with X and Y set to the same value.
The x and y coordinates in 2d-space.
Adds two points.
Source on the left of the add sign.
Source on the right of the add sign.
Sum of the points.
Subtracts a from a .
Source on the left of the sub sign.
Source on the right of the sub sign.
Result of the subtraction.
Multiplies the components of two points by each other.
Source on the left of the mul sign.
Source on the right of the mul sign.
Result of the multiplication.
Divides the components of a by the components of another .
Source on the left of the div sign.
Divisor on the right of the div sign.
The result of dividing the points.
Compares whether two instances are equal.
instance on the left of the equal sign.
instance on the right of the equal sign.
true if the instances are equal; false otherwise.
Compares whether two instances are not equal.
instance on the left of the not equal sign.
instance on the right of the not equal sign.
true if the instances are not equal; false otherwise.
Compares whether current instance is equal to specified .
The to compare.
true if the instances are equal; false otherwise.
Compares whether current instance is equal to specified .
The to compare.
true if the instances are equal; false otherwise.
Gets the hash code of this .
Hash code of this .
Returns a representation of this in the format:
{X:[] Y:[]}
representation of this .
Gets a representation for this object.
A representation for this object.
Describes a 2D-rectangle.
The x coordinate of the top-left corner of this .
The y coordinate of the top-left corner of this .
The width of this .
The height of this .
Returns a with X=0, Y=0, Width=0, Height=0.
Returns the x coordinate of the left edge of this .
Returns the x coordinate of the right edge of this .
Returns the y coordinate of the top edge of this .
Returns the y coordinate of the bottom edge of this .
Whether or not this has a and
of 0, and a of (0, 0).
The top-left coordinates of this .
The width-height coordinates of this .
A located in the center of this .
If or is an odd number,
the center point will be rounded down.
Creates a new instance of struct, with the specified
position, width, and height.
The x coordinate of the top-left corner of the created .
The y coordinate of the top-left corner of the created .
The width of the created .
The height of the created .
Creates a new instance of struct, with the specified
location and size.
The x and y coordinates of the top-left corner of the created .
The width and height of the created .
Compares whether two instances are equal.
instance on the left of the equal sign.
instance on the right of the equal sign.
true if the instances are equal; false otherwise.
Compares whether two instances are not equal.
instance on the left of the not equal sign.
instance on the right of the not equal sign.
true if the instances are not equal; false otherwise.
Gets whether or not the provided coordinates lie within the bounds of this .
The x coordinate of the point to check for containment.
The y coordinate of the point to check for containment.
true if the provided coordinates lie inside this ; false otherwise.
Gets whether or not the provided coordinates lie within the bounds of this .
The x coordinate of the point to check for containment.
The y coordinate of the point to check for containment.
true if the provided coordinates lie inside this ; false otherwise.
Gets whether or not the provided lies within the bounds of this .
The coordinates to check for inclusion in this .
true if the provided lies inside this ; false otherwise.
Gets whether or not the provided lies within the bounds of this .
The coordinates to check for inclusion in this .
true if the provided lies inside this ; false otherwise. As an output parameter.
Gets whether or not the provided lies within the bounds of this .
The coordinates to check for inclusion in this .
true if the provided lies inside this ; false otherwise.
Gets whether or not the provided lies within the bounds of this .
The coordinates to check for inclusion in this .
true if the provided lies inside this ; false otherwise. As an output parameter.
Gets whether or not the provided lies within the bounds of this .
The to check for inclusion in this .
true if the provided 's bounds lie entirely inside this ; false otherwise.
Gets whether or not the provided lies within the bounds of this .
The to check for inclusion in this .
true if the provided 's bounds lie entirely inside this ; false otherwise. As an output parameter.
Compares whether current instance is equal to specified .
The to compare.
true if the instances are equal; false otherwise.
Compares whether current instance is equal to specified .
The to compare.
true if the instances are equal; false otherwise.
Gets the hash code of this .
Hash code of this .
Adjusts the edges of this by specified horizontal and vertical amounts.
Value to adjust the left and right edges.
Value to adjust the top and bottom edges.
Adjusts the edges of this by specified horizontal and vertical amounts.
Value to adjust the left and right edges.
Value to adjust the top and bottom edges.
Gets whether or not a specified intersects with this .
Other .
true if other intersects with this ; false otherwise.
Gets whether or not a specified intersects with this .
Other .
true if other intersects with this ; false otherwise. As an output parameter.
Creates a new that contains overlapping region of two other rectangles.
The first .
The second .
Overlapping region of the two rectangles.
Creates a new that contains overlapping region of two other rectangles.
The first .
The second .
Overlapping region of the two rectangles as an output parameter.
Changes the of this .
The x coordinate to add to this .
The y coordinate to add to this .
Changes the of this .
The x coordinate to add to this .
The y coordinate to add to this .
Changes the of this .
The x and y components to add to this .
Changes the of this .
The x and y components to add to this .
Returns a representation of this in the format:
{X:[] Y:[] Width:[] Height:[]}
representation of this .
Creates a new that completely contains two other rectangles.
The first .
The second .
The union of the two rectangles.
Creates a new that completely contains two other rectangles.
The first .
The second .
The union of the two rectangles as an output parameter.
The x coordinate of this .
The y coordinate of this .
Returns a with components 0, 0.
Returns a with components 1, 1.
Returns a with components 1, 0.
Returns a with components 0, 1.
Constructs a 2d vector with X and Y from two values.
The x coordinate in 2d-space.
The y coordinate in 2d-space.
Constructs a 2d vector with X and Y set to the same value.
The x and y coordinates in 2d-space.
Inverts values in the specified .
Source on the right of the sub sign.
Result of the inversion.
Adds two vectors.
Source on the left of the add sign.
Source on the right of the add sign.
Sum of the vectors.
Subtracts a from a .
Source on the left of the sub sign.
Source on the right of the sub sign.
Result of the vector subtraction.
Multiplies the components of two vectors by each other.
Source on the left of the mul sign.
Source on the right of the mul sign.
Result of the vector multiplication.
Multiplies the components of vector by a scalar.
Source on the left of the mul sign.
Scalar value on the right of the mul sign.
Result of the vector multiplication with a scalar.
Multiplies the components of vector by a scalar.
Scalar value on the left of the mul sign.
Source on the right of the mul sign.
Result of the vector multiplication with a scalar.
Divides the components of a by the components of another .
Source on the left of the div sign.
Divisor on the right of the div sign.
The result of dividing the vectors.
Divides the components of a by a scalar.
Source on the left of the div sign.
Divisor scalar on the right of the div sign.
The result of dividing a vector by a scalar.
Compares whether two instances are equal.
instance on the left of the equal sign.
instance on the right of the equal sign.
true if the instances are equal; false otherwise.
Compares whether two instances are not equal.
instance on the left of the not equal sign.
instance on the right of the not equal sign.
true if the instances are not equal; false otherwise.
Performs vector addition on and .
The first vector to add.
The second vector to add.
The result of the vector addition.
Performs vector addition on and
, storing the result of the
addition in .
The first vector to add.
The second vector to add.
The result of the vector addition.
Creates a new that contains the cartesian coordinates of a vector specified in barycentric coordinates and relative to 2d-triangle.
The first vector of 2d-triangle.
The second vector of 2d-triangle.
The third vector of 2d-triangle.
Barycentric scalar b2 which represents a weighting factor towards second vector of 2d-triangle.
Barycentric scalar b3 which represents a weighting factor towards third vector of 2d-triangle.
The cartesian translation of barycentric coordinates.
Creates a new that contains the cartesian coordinates of a vector specified in barycentric coordinates and relative to 2d-triangle.
The first vector of 2d-triangle.
The second vector of 2d-triangle.
The third vector of 2d-triangle.
Barycentric scalar b2 which represents a weighting factor towards second vector of 2d-triangle.
Barycentric scalar b3 which represents a weighting factor towards third vector of 2d-triangle.
The cartesian translation of barycentric coordinates as an output parameter.
Creates a new that contains CatmullRom interpolation of the specified vectors.
The first vector in interpolation.
The second vector in interpolation.
The third vector in interpolation.
The fourth vector in interpolation.
Weighting factor.
The result of CatmullRom interpolation.
Creates a new that contains CatmullRom interpolation of the specified vectors.
The first vector in interpolation.
The second vector in interpolation.
The third vector in interpolation.
The fourth vector in interpolation.
Weighting factor.
The result of CatmullRom interpolation as an output parameter.
Clamps the specified value within a range.
The value to clamp.
The min value.
The max value.
The clamped value.
Clamps the specified value within a range.
The value to clamp.
The min value.
The max value.
The clamped value as an output parameter.
Returns the distance between two vectors.
The first vector.
The second vector.
The distance between two vectors.
Returns the distance between two vectors.
The first vector.
The second vector.
The distance between two vectors as an output parameter.
Returns the squared distance between two vectors.
The first vector.
The second vector.
The squared distance between two vectors.
Returns the squared distance between two vectors.
The first vector.
The second vector.
The squared distance between two vectors as an output parameter.
Divides the components of a by the components of another .
Source .
Divisor .
The result of dividing the vectors.
Divides the components of a by the components of another .
Source .
Divisor .
The result of dividing the vectors as an output parameter.
Divides the components of a by a scalar.
Source .
Divisor scalar.
The result of dividing a vector by a scalar.
Divides the components of a by a scalar.
Source .
Divisor scalar.
The result of dividing a vector by a scalar as an output parameter.
Returns a dot product of two vectors.
The first vector.
The second vector.
The dot product of two vectors.
Returns a dot product of two vectors.
The first vector.
The second vector.
The dot product of two vectors as an output parameter.
Compares whether current instance is equal to specified .
The to compare.
true if the instances are equal; false otherwise.
Compares whether current instance is equal to specified .
The to compare.
true if the instances are equal; false otherwise.
Gets the hash code of this .
Hash code of this .
Creates a new that contains hermite spline interpolation.
The first position vector.
The first tangent vector.
The second position vector.
The second tangent vector.
Weighting factor.
The hermite spline interpolation vector.
Creates a new that contains hermite spline interpolation.
The first position vector.
The first tangent vector.
The second position vector.
The second tangent vector.
Weighting factor.
The hermite spline interpolation vector as an output parameter.
Returns the length of this .
The length of this .
Returns the squared length of this .
The squared length of this .
Creates a new that contains linear interpolation of the specified vectors.
The first vector.
The second vector.
Weighting value(between 0.0 and 1.0).
The result of linear interpolation of the specified vectors.
Creates a new that contains linear interpolation of the specified vectors.
The first vector.
The second vector.
Weighting value(between 0.0 and 1.0).
The result of linear interpolation of the specified vectors as an output parameter.
Creates a new that contains a maximal values from the two vectors.
The first vector.
The second vector.
The with maximal values from the two vectors.
Creates a new that contains a maximal values from the two vectors.
The first vector.
The second vector.
The with maximal values from the two vectors as an output parameter.
Creates a new that contains a minimal values from the two vectors.
The first vector.
The second vector.
The with minimal values from the two vectors.
Creates a new that contains a minimal values from the two vectors.
The first vector.
The second vector.
The with minimal values from the two vectors as an output parameter.
Creates a new that contains a multiplication of two vectors.
Source .
Source .
The result of the vector multiplication.
Creates a new that contains a multiplication of two vectors.
Source .
Source .
The result of the vector multiplication as an output parameter.
Creates a new that contains a multiplication of and a scalar.
Source .
Scalar value.
The result of the vector multiplication with a scalar.
Creates a new that contains a multiplication of and a scalar.
Source .
Scalar value.
The result of the multiplication with a scalar as an output parameter.
Creates a new that contains the specified vector inversion.
Source .
The result of the vector inversion.
Creates a new that contains the specified vector inversion.
Source .
The result of the vector inversion as an output parameter.
Turns this to a unit vector with the same direction.
Creates a new that contains a normalized values from another vector.
Source .
Unit vector.
Creates a new that contains a normalized values from another vector.
Source .
Unit vector as an output parameter.
Creates a new that contains reflect vector of the given vector and normal.
Source .
Reflection normal.
Reflected vector.
Creates a new that contains reflect vector of the given vector and normal.
Source .
Reflection normal.
Reflected vector as an output parameter.
Creates a new that contains cubic interpolation of the specified vectors.
Source .
Source .
Weighting value.
Cubic interpolation of the specified vectors.
Creates a new that contains cubic interpolation of the specified vectors.
Source .
Source .
Weighting value.
Cubic interpolation of the specified vectors as an output parameter.
Creates a new that contains subtraction of on from a another.
Source .
Source .
The result of the vector subtraction.
Creates a new that contains subtraction of on from a another.
Source .
Source .
The result of the vector subtraction as an output parameter.
Returns a representation of this in the format:
{X:[] Y:[]}
A representation of this .
Gets a representation for this object.
A representation for this object.
Creates a new that contains a transformation of vector(position.X,position.Y,0,1) by the specified .
Source .
The transformation .
Transformed .
Creates a new that contains a transformation of vector(position.X,position.Y,0,1) by the specified .
Source .
The transformation .
Transformed as an output parameter.
Creates a new that contains a transformation of vector(position.X,position.Y,0,0) by the specified , representing the rotation.
Source .
The which contains rotation transformation.
Transformed .
Creates a new that contains a transformation of vector(position.X,position.Y,0,0) by the specified , representing the rotation.
Source .
The which contains rotation transformation.
Transformed as an output parameter.
Apply transformation on vectors within array of by the specified and places the results in an another array.
Source array.
The starting index of transformation in the source array.
The transformation .
Destination array.
The starting index in the destination array, where the first should be written.
The number of vectors to be transformed.
Apply transformation on vectors within array of by the specified and places the results in an another array.
Source array.
The starting index of transformation in the source array.
The which contains rotation transformation.
Destination array.
The starting index in the destination array, where the first should be written.
The number of vectors to be transformed.
Apply transformation on all vectors within array of by the specified and places the results in an another array.
Source array.
The transformation .
Destination array.
Apply transformation on all vectors within array of by the specified and places the results in an another array.
Source array.
The which contains rotation transformation.
Destination array.
Creates a new that contains a transformation of the specified normal by the specified .
Source which represents a normal vector.
The transformation .
Transformed normal.
Creates a new that contains a transformation of the specified normal by the specified .
Source which represents a normal vector.
The transformation .
Transformed normal as an output parameter.
Apply transformation on normals within array of by the specified and places the results in an another array.
Source array.
The starting index of transformation in the source array.
The transformation .
Destination array.
The starting index in the destination array, where the first should be written.
The number of normals to be transformed.
Apply transformation on all normals within array of by the specified and places the results in an another array.
Source array.
The transformation .
Destination array.
The x coordinate of this .
The y coordinate of this .
The z coordinate of this .
Returns a with components 0, 0, 0.
Returns a with components 1, 1, 1.
Returns a with components 1, 0, 0.
Returns a with components 0, 1, 0.
Returns a with components 0, 0, 1.
Returns a with components 0, 1, 0.
Returns a with components 0, -1, 0.
Returns a with components 1, 0, 0.
Returns a with components -1, 0, 0.
Returns a with components 0, 0, -1.
Returns a with components 0, 0, 1.
Constructs a 3d vector with X, Y and Z from three values.
The x coordinate in 3d-space.
The y coordinate in 3d-space.
The z coordinate in 3d-space.
Constructs a 3d vector with X, Y and Z set to the same value.
The x, y and z coordinates in 3d-space.
Constructs a 3d vector with X, Y from and Z from a scalar.
The x and y coordinates in 3d-space.
The z coordinate in 3d-space.
Performs vector addition on and .
The first vector to add.
The second vector to add.
The result of the vector addition.
Performs vector addition on and
, storing the result of the
addition in .
The first vector to add.
The second vector to add.
The result of the vector addition.
Creates a new that contains the cartesian coordinates of a vector specified in barycentric coordinates and relative to 3d-triangle.
The first vector of 3d-triangle.
The second vector of 3d-triangle.
The third vector of 3d-triangle.
Barycentric scalar b2 which represents a weighting factor towards second vector of 3d-triangle.
Barycentric scalar b3 which represents a weighting factor towards third vector of 3d-triangle.
The cartesian translation of barycentric coordinates.
Creates a new that contains the cartesian coordinates of a vector specified in barycentric coordinates and relative to 3d-triangle.
The first vector of 3d-triangle.
The second vector of 3d-triangle.
The third vector of 3d-triangle.
Barycentric scalar b2 which represents a weighting factor towards second vector of 3d-triangle.
Barycentric scalar b3 which represents a weighting factor towards third vector of 3d-triangle.
The cartesian translation of barycentric coordinates as an output parameter.
Creates a new that contains CatmullRom interpolation of the specified vectors.
The first vector in interpolation.
The second vector in interpolation.
The third vector in interpolation.
The fourth vector in interpolation.
Weighting factor.
The result of CatmullRom interpolation.
Creates a new that contains CatmullRom interpolation of the specified vectors.
The first vector in interpolation.
The second vector in interpolation.
The third vector in interpolation.
The fourth vector in interpolation.
Weighting factor.
The result of CatmullRom interpolation as an output parameter.
Clamps the specified value within a range.
The value to clamp.
The min value.
The max value.
The clamped value.
Clamps the specified value within a range.
The value to clamp.
The min value.
The max value.
The clamped value as an output parameter.
Computes the cross product of two vectors.
The first vector.
The second vector.
The cross product of two vectors.
Computes the cross product of two vectors.
The first vector.
The second vector.
The cross product of two vectors as an output parameter.
Returns the distance between two vectors.
The first vector.
The second vector.
The distance between two vectors.
Returns the distance between two vectors.
The first vector.
The second vector.
The distance between two vectors as an output parameter.
Returns the squared distance between two vectors.
The first vector.
The second vector.
The squared distance between two vectors.
Returns the squared distance between two vectors.
The first vector.
The second vector.
The squared distance between two vectors as an output parameter.
Divides the components of a by the components of another .
Source .
Divisor .
The result of dividing the vectors.
Divides the components of a by a scalar.
Source .
Divisor scalar.
The result of dividing a vector by a scalar.
Divides the components of a by a scalar.
Source .
Divisor scalar.
The result of dividing a vector by a scalar as an output parameter.
Divides the components of a by the components of another .
Source .
Divisor .
The result of dividing the vectors as an output parameter.
Returns a dot product of two vectors.
The first vector.
The second vector.
The dot product of two vectors.
Returns a dot product of two vectors.
The first vector.
The second vector.
The dot product of two vectors as an output parameter.
Compares whether current instance is equal to specified .
The to compare.
true if the instances are equal; false otherwise.
Compares whether current instance is equal to specified .
The to compare.
true if the instances are equal; false otherwise.
Gets the hash code of this .
Hash code of this .
Creates a new that contains hermite spline interpolation.
The first position vector.
The first tangent vector.
The second position vector.
The second tangent vector.
Weighting factor.
The hermite spline interpolation vector.
Creates a new that contains hermite spline interpolation.
The first position vector.
The first tangent vector.
The second position vector.
The second tangent vector.
Weighting factor.
The hermite spline interpolation vector as an output parameter.
Returns the length of this .
The length of this .
Returns the squared length of this .
The squared length of this .
Creates a new that contains linear interpolation of the specified vectors.
The first vector.
The second vector.
Weighting value(between 0.0 and 1.0).
The result of linear interpolation of the specified vectors.
Creates a new that contains linear interpolation of the specified vectors.
The first vector.
The second vector.
Weighting value(between 0.0 and 1.0).
The result of linear interpolation of the specified vectors as an output parameter.
Creates a new that contains a maximal values from the two vectors.
The first vector.
The second vector.
The with maximal values from the two vectors.
Creates a new that contains a maximal values from the two vectors.
The first vector.
The second vector.
The with maximal values from the two vectors as an output parameter.
Creates a new that contains a minimal values from the two vectors.
The first vector.
The second vector.
The with minimal values from the two vectors.
Creates a new that contains a minimal values from the two vectors.
The first vector.
The second vector.
The with minimal values from the two vectors as an output parameter.
Creates a new that contains a multiplication of two vectors.
Source .
Source .
The result of the vector multiplication.
Creates a new that contains a multiplication of and a scalar.
Source .
Scalar value.
The result of the vector multiplication with a scalar.
Creates a new that contains a multiplication of and a scalar.
Source .
Scalar value.
The result of the multiplication with a scalar as an output parameter.
Creates a new that contains a multiplication of two vectors.
Source .
Source .
The result of the vector multiplication as an output parameter.
Creates a new that contains the specified vector inversion.
Source .
The result of the vector inversion.
Creates a new that contains the specified vector inversion.
Source .
The result of the vector inversion as an output parameter.
Turns this to a unit vector with the same direction.
Creates a new that contains a normalized values from another vector.
Source .
Unit vector.
Creates a new that contains a normalized values from another vector.
Source .
Unit vector as an output parameter.
Creates a new that contains reflect vector of the given vector and normal.
Source .
Reflection normal.
Reflected vector.
Creates a new that contains reflect vector of the given vector and normal.
Source .
Reflection normal.
Reflected vector as an output parameter.
Creates a new that contains cubic interpolation of the specified vectors.
Source .
Source .
Weighting value.
Cubic interpolation of the specified vectors.
Creates a new that contains cubic interpolation of the specified vectors.
Source .
Source .
Weighting value.
Cubic interpolation of the specified vectors as an output parameter.
Creates a new that contains subtraction of on from a another.
Source .
Source .
The result of the vector subtraction.
Creates a new that contains subtraction of on from a another.
Source .
Source .
The result of the vector subtraction as an output parameter.
Returns a representation of this in the format:
{X:[] Y:[] Z:[]}
A representation of this .
Creates a new that contains a transformation of vector(position.X,position.Y,position.Z,1) by the specified .
Source .
The transformation .
Transformed .
Creates a new that contains a transformation of vector(position.X,position.Y,position.Z,1) by the specified .
Source .
The transformation .
Transformed as an output parameter.
Creates a new that contains a transformation of vector(position.X,position.Y,position.Z,0) by the specified , representing the rotation.
Source .
The which contains rotation transformation.
Transformed .
Creates a new that contains a transformation of vector(position.X,position.Y,position.Z,0) by the specified , representing the rotation.
Source .
The which contains rotation transformation.
Transformed as an output parameter.
Apply transformation on vectors within array of by the specified and places the results in an another array.
Source array.
The starting index of transformation in the source array.
The transformation .
Destination array.
The starting index in the destination array, where the first should be written.
The number of vectors to be transformed.
Apply transformation on vectors within array of by the specified and places the results in an another array.
Source array.
The starting index of transformation in the source array.
The which contains rotation transformation.
Destination array.
The starting index in the destination array, where the first should be written.
The number of vectors to be transformed.
Apply transformation on all vectors within array of by the specified and places the results in an another array.
Source array.
The transformation .
Destination array.
Apply transformation on all vectors within array of by the specified and places the results in an another array.
Source array.
The which contains rotation transformation.
Destination array.
Creates a new that contains a transformation of the specified normal by the specified .
Source which represents a normal vector.
The transformation .
Transformed normal.
Creates a new that contains a transformation of the specified normal by the specified .
Source which represents a normal vector.
The transformation .
Transformed normal as an output parameter.
Apply transformation on normals within array of by the specified and places the results in an another array.
Source array.
The starting index of transformation in the source array.
The transformation .
Destination array.
The starting index in the destination array, where the first should be written.
The number of normals to be transformed.
Apply transformation on all normals within array of by the specified and places the results in an another array.
Source array.
The transformation .
Destination array.
Compares whether two instances are equal.
instance on the left of the equal sign.
instance on the right of the equal sign.
true if the instances are equal; false otherwise.
Compares whether two instances are not equal.
instance on the left of the not equal sign.
instance on the right of the not equal sign.
true if the instances are not equal; false otherwise.
Adds two vectors.
Source on the left of the add sign.
Source on the right of the add sign.
Sum of the vectors.
Inverts values in the specified .
Source on the right of the sub sign.
Result of the inversion.
Subtracts a from a .
Source on the left of the sub sign.
Source on the right of the sub sign.
Result of the vector subtraction.
Multiplies the components of two vectors by each other.
Source on the left of the mul sign.
Source on the right of the mul sign.
Result of the vector multiplication.
Multiplies the components of vector by a scalar.
Source on the left of the mul sign.
Scalar value on the right of the mul sign.
Result of the vector multiplication with a scalar.
Multiplies the components of vector by a scalar.
Scalar value on the left of the mul sign.
Source on the right of the mul sign.
Result of the vector multiplication with a scalar.
Divides the components of a by the components of another .
Source on the left of the div sign.
Divisor on the right of the div sign.
The result of dividing the vectors.
Divides the components of a by a scalar.
Source on the left of the div sign.
Divisor scalar on the right of the div sign.
The result of dividing a vector by a scalar.
Returns a Vector4 with components 0, 0, 0, 0.
Returns a Vector4 with components 1, 1, 1, 1.
Returns a Vector4 with components 1, 0, 0, 0.
Returns a Vector4 with components 0, 1, 0, 0.
Returns a Vector4 with components 0, 0, 1, 0.
Returns a Vector4 with components 0, 0, 0, 1.
Performs vector addition on and .
The first vector to add.
The second vector to add.
The result of the vector addition.
Performs vector addition on and
, storing the result of the
addition in .
The first vector to add.
The second vector to add.
The result of the vector addition.
Performs vector subtraction on and .
The vector to be subtracted from.
The vector to be subtracted from .
The result of the vector subtraction.
Performs vector subtraction on and .
The vector to be subtracted from.
The vector to be subtracted from .
The result of the vector subtraction.
间隔时间
触发过多少次
总共经过时间
记录归零
更新
间隔时间
是否应该触发
记录归零
更新
间隔时间
是否到期
是否结束
剩余百分比
更新
间隔时间
增加时间任务
增加延时回调方法
增加定时回调方法
同时执行多个Timer
半径
方向
半径
2D向量
2D向量
2D极坐标向量
移动指定偏移
@param v
@param dx x距离
@param dy y距离
通过极坐标来移动
@param v
@param degree 弧度
@param distance 距离
通过极坐标来移动
@param v
@param degree 弧度
@param speed 速度 (单位距离/秒)
@param interval_ms 毫秒时间
向目标移动
@param v
@param x 目标x
@param y 目标y
@return 是否到达目的地
得到速度和时间产生的距离
@param speed 速度 (单位距离/秒)
@param interval_ms 毫秒时间
@return
得到弧度
x向量
y向量
得到弧度
@param v 向量
@return
将2个向量相加得到一个新的向量
@param a
@param b
@return
将2个向量相减得到一个新的向量
@param a
@param b
@return
将一个向量加上新的向量,得到一个新的向量
@param a
@param degree
@param distance
@return
把一个向量向自己本身的方向相加,得到一个新的向量
@param a
@param distance
@return
将一个向量缩放一定比率后,得到一个新的向量
@param a
@param scale
@return
挤压移动单位,某个单位在集合中移动,碰撞并挤开其他单位
随机调整每个点,
使得距离都最小保持在spacing_size
按正方形调整每个点,
使得距离都最小保持在spacing_size
按圆形调整每个点,
使得距离都最小保持在spacing_size
按环形调整每个点,
使得距离都最小保持在spacing_size
按蜂窝状调整每个点,
使得距离都最小保持在spacing_size
从输入流复制到输出流
输入流
输出流
总共复制多少字节
进度回调,返回False表示终止进程
缓冲区大小
写入可变长度32位
写入可变长度32位
写入可变长度64位
写入可变长度64位
自动检测类型
不包括消息头,列表中元素必须保证类型一致
不包括消息头,列表中元素必须保证类型一致
不包括消息头,列表中元素必须保证类型一致
不包括消息头,列表中元素必须保证类型一致
写入可变长度32位
写入可变长度32位
写入可变长度64位
写入可变长度64位
自动检测类型
不包括消息头,列表中元素必须保证类型一致
不包括消息头,列表中元素必须保证类型一致
不包括消息头,列表中元素必须保证类型一致
不包括消息头,列表中元素必须保证类型一致
不包括消息头,列表中元素必须保证类型一致
不包括消息头,列表中元素必须保证类型一致
判断资源是否存在
读取资源
子目录对应的资源路径
列出所有子文件,不包换目录
读取资源
子目录对应的资源路径
读取文本资源
判断一个文件是否存在
读取二进制数据
尝试以流的方式读取,返回空表示不支持流
列出所有子文件,不包换目录
获取属性
设置属性
移除属性
是否包含属性
遍历属性列表
用System.net.dns类中的GetHostEntry()和GetHostName()方法来建立一个本
地IP地址,并且建立了一个IPHostEntry对象。用以下两句代码来获取本地IP
地址
将网络流中的数据解析成对象
返回true则表示此次对象解析完成,进行下一次解析
将对象编码传输至网络流
将一个程序集内的所有类符合[MessageType]的类全部注册到编解码器
编辑器支持,描述性文件
某个字段依赖于某个开关(字段或者属性)
编辑器支持,描述列表的成员类型
编辑器支持,描述一个类的主键是什么
编辑器支持,此类型是可折叠
编辑器支持,字段是否可删除或改变
列取当前字段可能的值
标识 Field 字段为颜色
标识 Field 字段为文件
标识 Field 字段为目录
找到Type对应的TypeDescAttribute
设置当前节点值(此操作 将改变当前节点结构)
设置当前节点值(此操作 将改变当前节点结构)
保留结构相同部分
将两个结构内部配平,
比如A对象内的一个数组为2个,B对象内部数组为4个,那么调用后,A对象内的数组将补齐为4个
是否发生变化
将两个数组配平,少的自动补齐
将两个数组配平,少的自动补齐
将ret按照more标准配平
深度判断结构是否一致
将一个对象里面所有的Attribute的标记的Field值,全部取出
将一个对象里面所有的Attribute的标记的Field值,全部取出
返回书写习惯的类型字符串
如果此类型有DescAttribute签名,则返回Desc
如果此类型有DescAttribute签名,则返回Catgory
获取所有匹配的非虚子类
获取所有匹配的非虚子类,每个类必须标注DescAttribute
VLQ Int取值范围21位
save a value to data with Variable Length Queue (0xaa,0xbb,0xcc,0xdd = 0xaabbccdd)
read a value to data with Variable Length Queue (0xaa,0xbb,0xcc,0xdd = 0xaabbccdd)
int[0] how many bytes ;int[1] value
添加成功返回true
通常载入配置文件
添加一个消息到队列
尝试处理队列中所有消息
处理函数
添加一个消息到队列
添加一个消息到队列
尝试处理队列中所有消息
util math function none float
@author yifeizhang
@since 2006-12-1
@version 1.0
compute cyc number: (value+d) within 0~max scope
compute cyc number: (value+d) within 0~max scope
compute cyc mod: -1 mod 10 = -1
获得符号
1 or 0 or -1
获得符号
comput round mod roundMode(33,8) = 5 => 33/8 + (33%8==0?:0:1)
comput round mod roundMode(33,8) = 5 => 33/8 + (33%8==0?:0:1)
根据速度和时间段得到距离
速度 (距离/秒)
毫秒
扇形和圆相交
扇形圆心
扇形圆心
扇形半径
点
点
扇形起始角度
扇形结束角度
圆x
圆y
圆r
点
点
圆1x
圆1y
圆1r
圆2x
圆2y
圆2r
矩形x1
矩形y1
矩形x2
矩形y2
点
点
矩形x
矩形y
矩形w
矩形h
点
点
点在椭圆内
椭圆X
椭圆Y
椭圆宽
椭圆高
点
点
点在粗线条内
线段X1
线段Y1
线段X2
线段Y2
线段半径(粗度的一半)
点
点
点在多边形内
多边形
点
点
两圆相交
圆1x
圆1y
圆1r
圆2x
圆2y
圆2r
扇形和圆相交
扇形圆心
扇形圆心
扇形半径
圆形中心
圆形中心
圆形半径
扇形起始角(弧度)
扇形结束角(弧度)
两矩形相交
矩形1
矩形1
矩形1
矩形1
矩形2
矩形2
矩形2
矩形2
两矩形相交(宽高)
矩形1
矩形1
矩形1
矩形1
矩形2
矩形2
矩形2
矩形2
矩形和线段相交
矩形
矩形
矩形
矩形
线段
线段
线段
线段
矩形和圆相交
矩形
矩形
矩形
矩形
圆形
圆形
圆形
计算椭圆和矩形是否相交
(x/rx)^2 + (y/ry)^2 = 1;
left is: (x* ry)^2 + (y* rx)^2
right is: (rx* ry)^2
if(left > right) out
else in
矩形左上角x
矩形左上角y
矩形右下角x
矩形右下角y
椭圆圆心x
椭圆圆心y
椭圆x轴半径
椭圆y轴半径
两个线段相交
((Q2-Q1)X(P1-Q1))*((P2-Q1)X(Q2-Q1)) >= 0
((P2-P1)X(Q1-P1))*((Q2-P1)X(P2-P1)) >= 0
line 1
line 1
line 1
line 1
line 2
line 2
line 2
line 2
两个线段相交
((Q2-Q1)X(P1-Q1))*((P2-Q1)X(Q2-Q1)) >= 0
((P2-P1)X(Q1-P1))*((Q2-P1)X(P2-P1)) >= 0
line 1
line 1
line 1
line 1
line 2
line 2
line 2
line 2
忽略焦点在线段内
求线段与圆碰撞
线段起点
线段起点
线段终点
线段终点
圆心坐标
圆心坐标
半径
如果有交点返回true,否则返回false
圆与胶囊线段碰撞检测
性能远好于 intersetctRoundStripWidth
线段
线段
线段
线段
线段半径(粗度的一半)
圆形
圆形
圆形
圆与线段碰撞检测
性能较差
线段
线段
线段
线段
线段半径(粗度的一半)
圆形
圆形
圆形
矩形与粗线段相交
矩形
矩形
矩形
矩形
线段
线段
线段
线段
线段半径(粗度的一半)
圆形与多边形碰撞
圆形
圆形
圆形
多边形
矩形与多边形碰撞
矩形
矩形
矩形
矩形
多边形
获得粗线段多边形表达式
线段
线段
线段
线段
线段半径(粗度的一半)
多边形
获取多边形外包框
max 大于等于 value 并且 min 小于等于 value
max 大于 value 并且 min 小于 value
将值定位于min和max之间
包含
获得值在最大与最小之间的比率
将比率换算为实际值
Math.PI / 180
Math.PI / 2
Math.PI * 2
角度转弧度
弧度转角度
将角度控制在360度范围内
将弧度控制在2PI度范围内
判断弧度是否在范围内
获取两个角度间的最小距离
输入三个点,并且判断第三个点在前两个点连成的直线的左边还是右边或者是在线上
YYMMDD_hhmmss
hhmmss
解析CSV对象组,仅支持二维
列表对象
CSV文本
起始行
起始列
内容分隔符
组分隔符
文本序列转化为任何对象
文本
解析类型
内容分隔符
组分隔符
文本序列转化为对象列表
文本
解析类型
内容分隔符
组分隔符
文本序列转化为对象
文本
解析类型
内容分隔符
基础类型或者字符串
标记当前Field或者Property是否参与Xml序列化
Xml序列化与反序列化