Click or drag to resize

MCUtilitiesCornerPoints Method (Bounds, Quaternion)

Gets corner points of the bounds with specified rotation.

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.Utilities
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
[NotNullAttribute]
public static Vector3[] CornerPoints(
	this Bounds bounds,
	Quaternion rotation
)

Parameters

bounds
Type: Bounds
The bounds.
rotation
Type: Quaternion
The rotation of bounds.

Return Value

Type: Vector3
Corner points of rotated bounds

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Bounds. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also