mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-14 10:09:09 +01:00
1930 lines
75 KiB
YAML
1930 lines
75 KiB
YAML
|
### YamlMime:ManagedReference
|
||
|
items:
|
||
|
- uid: MLEM.Maths.NumberExtensions
|
||
|
commentId: T:MLEM.Maths.NumberExtensions
|
||
|
id: NumberExtensions
|
||
|
parent: MLEM.Maths
|
||
|
children:
|
||
|
- MLEM.Maths.NumberExtensions.Ceil(System.Single)
|
||
|
- MLEM.Maths.NumberExtensions.CeilCopy(Microsoft.Xna.Framework.Vector2)
|
||
|
- MLEM.Maths.NumberExtensions.CeilCopy(Microsoft.Xna.Framework.Vector3)
|
||
|
- MLEM.Maths.NumberExtensions.CeilCopy(Microsoft.Xna.Framework.Vector4)
|
||
|
- MLEM.Maths.NumberExtensions.Divide(Microsoft.Xna.Framework.Point,System.Single)
|
||
|
- MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Quaternion,Microsoft.Xna.Framework.Quaternion,System.Single)
|
||
|
- MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Single)
|
||
|
- MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Vector3,System.Single)
|
||
|
- MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector4,Microsoft.Xna.Framework.Vector4,System.Single)
|
||
|
- MLEM.Maths.NumberExtensions.Equals(System.Single,System.Single,System.Single)
|
||
|
- MLEM.Maths.NumberExtensions.Floor(System.Single)
|
||
|
- MLEM.Maths.NumberExtensions.FloorCopy(Microsoft.Xna.Framework.Vector2)
|
||
|
- MLEM.Maths.NumberExtensions.FloorCopy(Microsoft.Xna.Framework.Vector3)
|
||
|
- MLEM.Maths.NumberExtensions.FloorCopy(Microsoft.Xna.Framework.Vector4)
|
||
|
- MLEM.Maths.NumberExtensions.GetPoints(MLEM.Maths.RectangleF,System.Single,System.Boolean)
|
||
|
- MLEM.Maths.NumberExtensions.GetPoints(Microsoft.Xna.Framework.Rectangle,System.Boolean)
|
||
|
- MLEM.Maths.NumberExtensions.Multiply(Microsoft.Xna.Framework.Point,System.Single)
|
||
|
- MLEM.Maths.NumberExtensions.OffsetCopy(MLEM.Maths.RectangleF,Microsoft.Xna.Framework.Vector2)
|
||
|
- MLEM.Maths.NumberExtensions.OffsetCopy(Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Point)
|
||
|
- MLEM.Maths.NumberExtensions.Penetrate(MLEM.Maths.RectangleF,MLEM.Maths.RectangleF,Microsoft.Xna.Framework.Vector2@,System.Single@)
|
||
|
- MLEM.Maths.NumberExtensions.Rotation(Microsoft.Xna.Framework.Matrix)
|
||
|
- MLEM.Maths.NumberExtensions.RotationVector(Microsoft.Xna.Framework.Matrix)
|
||
|
- MLEM.Maths.NumberExtensions.RotationVector(Microsoft.Xna.Framework.Quaternion)
|
||
|
- MLEM.Maths.NumberExtensions.Scale(Microsoft.Xna.Framework.Matrix)
|
||
|
- MLEM.Maths.NumberExtensions.Shrink(MLEM.Maths.RectangleF,MLEM.Maths.Padding)
|
||
|
- MLEM.Maths.NumberExtensions.Shrink(MLEM.Maths.RectangleF,Microsoft.Xna.Framework.Vector2)
|
||
|
- MLEM.Maths.NumberExtensions.Shrink(Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Point)
|
||
|
- MLEM.Maths.NumberExtensions.ToVector2(Microsoft.Xna.Framework.Vector3)
|
||
|
- MLEM.Maths.NumberExtensions.Transform(Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Matrix)
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: NumberExtensions
|
||
|
nameWithType: NumberExtensions
|
||
|
fullName: MLEM.Maths.NumberExtensions
|
||
|
type: Class
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: NumberExtensions
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 8
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: A set of extensions for dealing with <xref href="System.Single" data-throw-if-not-resolved="false"></xref>, <xref href="Microsoft.Xna.Framework.Vector2" data-throw-if-not-resolved="false"></xref>, <xref href="Microsoft.Xna.Framework.Vector3" data-throw-if-not-resolved="false"></xref>, <xref href="Microsoft.Xna.Framework.Vector4" data-throw-if-not-resolved="false"></xref>, <xref href="Microsoft.Xna.Framework.Point" data-throw-if-not-resolved="false"></xref>, <xref href="Microsoft.Xna.Framework.Matrix" data-throw-if-not-resolved="false"></xref>, <xref href="Microsoft.Xna.Framework.Rectangle" data-throw-if-not-resolved="false"></xref> and <xref href="MLEM.Maths.RectangleF" data-throw-if-not-resolved="false"></xref>
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static class NumberExtensions
|
||
|
content.vb: Public Module NumberExtensions
|
||
|
inheritance:
|
||
|
- System.Object
|
||
|
inheritedMembers:
|
||
|
- System.Object.ToString
|
||
|
- System.Object.Equals(System.Object)
|
||
|
- System.Object.Equals(System.Object,System.Object)
|
||
|
- System.Object.ReferenceEquals(System.Object,System.Object)
|
||
|
- System.Object.GetHashCode
|
||
|
- System.Object.GetType
|
||
|
- System.Object.MemberwiseClone
|
||
|
- uid: MLEM.Maths.NumberExtensions.Floor(System.Single)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Floor(System.Single)
|
||
|
id: Floor(System.Single)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Floor(float)
|
||
|
nameWithType: NumberExtensions.Floor(float)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Floor(float)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Floor
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 11
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Returns the largest integer less than or equal to the specified decimal number.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static int Floor(this float f)
|
||
|
parameters:
|
||
|
- id: f
|
||
|
type: System.Single
|
||
|
return:
|
||
|
type: System.Int32
|
||
|
description: The largest integer less than or equal to <code class="paramref">d</code>. Note that the method returns an integral value of type <xref href="System.Math" data-throw-if-not-resolved="false"></xref>.
|
||
|
content.vb: Public Shared Function Floor(f As Single) As Integer
|
||
|
overload: MLEM.Maths.NumberExtensions.Floor*
|
||
|
nameWithType.vb: NumberExtensions.Floor(Single)
|
||
|
fullName.vb: MLEM.Maths.NumberExtensions.Floor(Single)
|
||
|
name.vb: Floor(Single)
|
||
|
- uid: MLEM.Maths.NumberExtensions.Ceil(System.Single)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Ceil(System.Single)
|
||
|
id: Ceil(System.Single)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Ceil(float)
|
||
|
nameWithType: NumberExtensions.Ceil(float)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Ceil(float)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Ceil
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 16
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Returns the smallest integral value that is greater than or equal to the specified decimal number.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static int Ceil(this float f)
|
||
|
parameters:
|
||
|
- id: f
|
||
|
type: System.Single
|
||
|
return:
|
||
|
type: System.Int32
|
||
|
description: The smallest integral value that is greater than or equal to <code class="paramref">d</code>. Note that this method returns a <xref href="System.Decimal" data-throw-if-not-resolved="false"></xref> instead of an integral type.
|
||
|
content.vb: Public Shared Function Ceil(f As Single) As Integer
|
||
|
overload: MLEM.Maths.NumberExtensions.Ceil*
|
||
|
nameWithType.vb: NumberExtensions.Ceil(Single)
|
||
|
fullName.vb: MLEM.Maths.NumberExtensions.Ceil(Single)
|
||
|
name.vb: Ceil(Single)
|
||
|
- uid: MLEM.Maths.NumberExtensions.Equals(System.Single,System.Single,System.Single)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Equals(System.Single,System.Single,System.Single)
|
||
|
id: Equals(System.Single,System.Single,System.Single)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Equals(float, float, float)
|
||
|
nameWithType: NumberExtensions.Equals(float, float, float)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Equals(float, float, float)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Equals
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 27
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Checks for decimal equality with a given tolerance.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static bool Equals(this float first, float second, float tolerance)
|
||
|
parameters:
|
||
|
- id: first
|
||
|
type: System.Single
|
||
|
description: The first number to equate
|
||
|
- id: second
|
||
|
type: System.Single
|
||
|
description: The second number to equate
|
||
|
- id: tolerance
|
||
|
type: System.Single
|
||
|
description: The equality tolerance
|
||
|
return:
|
||
|
type: System.Boolean
|
||
|
description: Whether or not the two values are different by at most <code>tolerance</code>
|
||
|
content.vb: Public Shared Function Equals(first As Single, second As Single, tolerance As Single) As Boolean
|
||
|
overload: MLEM.Maths.NumberExtensions.Equals*
|
||
|
nameWithType.vb: NumberExtensions.Equals(Single, Single, Single)
|
||
|
fullName.vb: MLEM.Maths.NumberExtensions.Equals(Single, Single, Single)
|
||
|
name.vb: Equals(Single, Single, Single)
|
||
|
- uid: MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Single)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Single)
|
||
|
id: Equals(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Single)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Equals(Vector2, Vector2, float)
|
||
|
nameWithType: NumberExtensions.Equals(Vector2, Vector2, float)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, float)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Equals
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 32
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Checks for decimal equality with a given tolerance.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static bool Equals(this Vector2 first, Vector2 second, float tolerance)
|
||
|
parameters:
|
||
|
- id: first
|
||
|
type: Microsoft.Xna.Framework.Vector2
|
||
|
description: The first number to equate
|
||
|
- id: second
|
||
|
type: Microsoft.Xna.Framework.Vector2
|
||
|
description: The second number to equate
|
||
|
- id: tolerance
|
||
|
type: System.Single
|
||
|
description: The equality tolerance
|
||
|
return:
|
||
|
type: System.Boolean
|
||
|
description: Whether or not the two values are different by at most <code>tolerance</code>
|
||
|
content.vb: Public Shared Function Equals(first As Vector2, second As Vector2, tolerance As Single) As Boolean
|
||
|
overload: MLEM.Maths.NumberExtensions.Equals*
|
||
|
nameWithType.vb: NumberExtensions.Equals(Vector2, Vector2, Single)
|
||
|
fullName.vb: MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Single)
|
||
|
name.vb: Equals(Vector2, Vector2, Single)
|
||
|
- uid: MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Vector3,System.Single)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Vector3,System.Single)
|
||
|
id: Equals(Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Vector3,System.Single)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Equals(Vector3, Vector3, float)
|
||
|
nameWithType: NumberExtensions.Equals(Vector3, Vector3, float)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, float)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Equals
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 37
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Checks for decimal equality with a given tolerance.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static bool Equals(this Vector3 first, Vector3 second, float tolerance)
|
||
|
parameters:
|
||
|
- id: first
|
||
|
type: Microsoft.Xna.Framework.Vector3
|
||
|
description: The first number to equate
|
||
|
- id: second
|
||
|
type: Microsoft.Xna.Framework.Vector3
|
||
|
description: The second number to equate
|
||
|
- id: tolerance
|
||
|
type: System.Single
|
||
|
description: The equality tolerance
|
||
|
return:
|
||
|
type: System.Boolean
|
||
|
description: Whether or not the two values are different by at most <code>tolerance</code>
|
||
|
content.vb: Public Shared Function Equals(first As Vector3, second As Vector3, tolerance As Single) As Boolean
|
||
|
overload: MLEM.Maths.NumberExtensions.Equals*
|
||
|
nameWithType.vb: NumberExtensions.Equals(Vector3, Vector3, Single)
|
||
|
fullName.vb: MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3, Single)
|
||
|
name.vb: Equals(Vector3, Vector3, Single)
|
||
|
- uid: MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector4,Microsoft.Xna.Framework.Vector4,System.Single)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector4,Microsoft.Xna.Framework.Vector4,System.Single)
|
||
|
id: Equals(Microsoft.Xna.Framework.Vector4,Microsoft.Xna.Framework.Vector4,System.Single)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Equals(Vector4, Vector4, float)
|
||
|
nameWithType: NumberExtensions.Equals(Vector4, Vector4, float)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, float)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Equals
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 42
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Checks for decimal equality with a given tolerance.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static bool Equals(this Vector4 first, Vector4 second, float tolerance)
|
||
|
parameters:
|
||
|
- id: first
|
||
|
type: Microsoft.Xna.Framework.Vector4
|
||
|
description: The first number to equate
|
||
|
- id: second
|
||
|
type: Microsoft.Xna.Framework.Vector4
|
||
|
description: The second number to equate
|
||
|
- id: tolerance
|
||
|
type: System.Single
|
||
|
description: The equality tolerance
|
||
|
return:
|
||
|
type: System.Boolean
|
||
|
description: Whether or not the two values are different by at most <code>tolerance</code>
|
||
|
content.vb: Public Shared Function Equals(first As Vector4, second As Vector4, tolerance As Single) As Boolean
|
||
|
overload: MLEM.Maths.NumberExtensions.Equals*
|
||
|
nameWithType.vb: NumberExtensions.Equals(Vector4, Vector4, Single)
|
||
|
fullName.vb: MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Vector4, Microsoft.Xna.Framework.Vector4, Single)
|
||
|
name.vb: Equals(Vector4, Vector4, Single)
|
||
|
- uid: MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Quaternion,Microsoft.Xna.Framework.Quaternion,System.Single)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Quaternion,Microsoft.Xna.Framework.Quaternion,System.Single)
|
||
|
id: Equals(Microsoft.Xna.Framework.Quaternion,Microsoft.Xna.Framework.Quaternion,System.Single)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Equals(Quaternion, Quaternion, float)
|
||
|
nameWithType: NumberExtensions.Equals(Quaternion, Quaternion, float)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, float)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Equals
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 47
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Checks for decimal equality with a given tolerance.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static bool Equals(this Quaternion first, Quaternion second, float tolerance)
|
||
|
parameters:
|
||
|
- id: first
|
||
|
type: Microsoft.Xna.Framework.Quaternion
|
||
|
description: The first number to equate
|
||
|
- id: second
|
||
|
type: Microsoft.Xna.Framework.Quaternion
|
||
|
description: The second number to equate
|
||
|
- id: tolerance
|
||
|
type: System.Single
|
||
|
description: The equality tolerance
|
||
|
return:
|
||
|
type: System.Boolean
|
||
|
description: Whether or not the two values are different by at most <code>tolerance</code>
|
||
|
content.vb: Public Shared Function Equals(first As Quaternion, second As Quaternion, tolerance As Single) As Boolean
|
||
|
overload: MLEM.Maths.NumberExtensions.Equals*
|
||
|
nameWithType.vb: NumberExtensions.Equals(Quaternion, Quaternion, Single)
|
||
|
fullName.vb: MLEM.Maths.NumberExtensions.Equals(Microsoft.Xna.Framework.Quaternion, Microsoft.Xna.Framework.Quaternion, Single)
|
||
|
name.vb: Equals(Quaternion, Quaternion, Single)
|
||
|
- uid: MLEM.Maths.NumberExtensions.FloorCopy(Microsoft.Xna.Framework.Vector2)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.FloorCopy(Microsoft.Xna.Framework.Vector2)
|
||
|
id: FloorCopy(Microsoft.Xna.Framework.Vector2)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: FloorCopy(Vector2)
|
||
|
nameWithType: NumberExtensions.FloorCopy(Vector2)
|
||
|
fullName: MLEM.Maths.NumberExtensions.FloorCopy(Microsoft.Xna.Framework.Vector2)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: FloorCopy
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 52
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Returns the largest integer less than or equal to the specified decimal number.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Vector2 FloorCopy(this Vector2 vec)
|
||
|
parameters:
|
||
|
- id: vec
|
||
|
type: Microsoft.Xna.Framework.Vector2
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Vector2
|
||
|
description: The largest integer less than or equal to <code class="paramref">d</code>. Note that the method returns an integral value of type <xref href="System.Math" data-throw-if-not-resolved="false"></xref>.
|
||
|
content.vb: Public Shared Function FloorCopy(vec As Vector2) As Vector2
|
||
|
overload: MLEM.Maths.NumberExtensions.FloorCopy*
|
||
|
- uid: MLEM.Maths.NumberExtensions.FloorCopy(Microsoft.Xna.Framework.Vector3)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.FloorCopy(Microsoft.Xna.Framework.Vector3)
|
||
|
id: FloorCopy(Microsoft.Xna.Framework.Vector3)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: FloorCopy(Vector3)
|
||
|
nameWithType: NumberExtensions.FloorCopy(Vector3)
|
||
|
fullName: MLEM.Maths.NumberExtensions.FloorCopy(Microsoft.Xna.Framework.Vector3)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: FloorCopy
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 57
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Returns the largest integer less than or equal to the specified decimal number.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Vector3 FloorCopy(this Vector3 vec)
|
||
|
parameters:
|
||
|
- id: vec
|
||
|
type: Microsoft.Xna.Framework.Vector3
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Vector3
|
||
|
description: The largest integer less than or equal to <code class="paramref">d</code>. Note that the method returns an integral value of type <xref href="System.Math" data-throw-if-not-resolved="false"></xref>.
|
||
|
content.vb: Public Shared Function FloorCopy(vec As Vector3) As Vector3
|
||
|
overload: MLEM.Maths.NumberExtensions.FloorCopy*
|
||
|
- uid: MLEM.Maths.NumberExtensions.FloorCopy(Microsoft.Xna.Framework.Vector4)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.FloorCopy(Microsoft.Xna.Framework.Vector4)
|
||
|
id: FloorCopy(Microsoft.Xna.Framework.Vector4)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: FloorCopy(Vector4)
|
||
|
nameWithType: NumberExtensions.FloorCopy(Vector4)
|
||
|
fullName: MLEM.Maths.NumberExtensions.FloorCopy(Microsoft.Xna.Framework.Vector4)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: FloorCopy
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 62
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Returns the largest integer less than or equal to the specified decimal number.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Vector4 FloorCopy(this Vector4 vec)
|
||
|
parameters:
|
||
|
- id: vec
|
||
|
type: Microsoft.Xna.Framework.Vector4
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Vector4
|
||
|
description: The largest integer less than or equal to <code class="paramref">d</code>. Note that the method returns an integral value of type <xref href="System.Math" data-throw-if-not-resolved="false"></xref>.
|
||
|
content.vb: Public Shared Function FloorCopy(vec As Vector4) As Vector4
|
||
|
overload: MLEM.Maths.NumberExtensions.FloorCopy*
|
||
|
- uid: MLEM.Maths.NumberExtensions.CeilCopy(Microsoft.Xna.Framework.Vector2)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.CeilCopy(Microsoft.Xna.Framework.Vector2)
|
||
|
id: CeilCopy(Microsoft.Xna.Framework.Vector2)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: CeilCopy(Vector2)
|
||
|
nameWithType: NumberExtensions.CeilCopy(Vector2)
|
||
|
fullName: MLEM.Maths.NumberExtensions.CeilCopy(Microsoft.Xna.Framework.Vector2)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: CeilCopy
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 67
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Returns the smallest integral value that is greater than or equal to the specified decimal number.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Vector2 CeilCopy(this Vector2 vec)
|
||
|
parameters:
|
||
|
- id: vec
|
||
|
type: Microsoft.Xna.Framework.Vector2
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Vector2
|
||
|
description: The smallest integral value that is greater than or equal to <code class="paramref">d</code>. Note that this method returns a <xref href="System.Decimal" data-throw-if-not-resolved="false"></xref> instead of an integral type.
|
||
|
content.vb: Public Shared Function CeilCopy(vec As Vector2) As Vector2
|
||
|
overload: MLEM.Maths.NumberExtensions.CeilCopy*
|
||
|
- uid: MLEM.Maths.NumberExtensions.CeilCopy(Microsoft.Xna.Framework.Vector3)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.CeilCopy(Microsoft.Xna.Framework.Vector3)
|
||
|
id: CeilCopy(Microsoft.Xna.Framework.Vector3)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: CeilCopy(Vector3)
|
||
|
nameWithType: NumberExtensions.CeilCopy(Vector3)
|
||
|
fullName: MLEM.Maths.NumberExtensions.CeilCopy(Microsoft.Xna.Framework.Vector3)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: CeilCopy
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 72
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Returns the smallest integral value that is greater than or equal to the specified decimal number.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Vector3 CeilCopy(this Vector3 vec)
|
||
|
parameters:
|
||
|
- id: vec
|
||
|
type: Microsoft.Xna.Framework.Vector3
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Vector3
|
||
|
description: The smallest integral value that is greater than or equal to <code class="paramref">d</code>. Note that this method returns a <xref href="System.Decimal" data-throw-if-not-resolved="false"></xref> instead of an integral type.
|
||
|
content.vb: Public Shared Function CeilCopy(vec As Vector3) As Vector3
|
||
|
overload: MLEM.Maths.NumberExtensions.CeilCopy*
|
||
|
- uid: MLEM.Maths.NumberExtensions.CeilCopy(Microsoft.Xna.Framework.Vector4)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.CeilCopy(Microsoft.Xna.Framework.Vector4)
|
||
|
id: CeilCopy(Microsoft.Xna.Framework.Vector4)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: CeilCopy(Vector4)
|
||
|
nameWithType: NumberExtensions.CeilCopy(Vector4)
|
||
|
fullName: MLEM.Maths.NumberExtensions.CeilCopy(Microsoft.Xna.Framework.Vector4)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: CeilCopy
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 77
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Returns the smallest integral value that is greater than or equal to the specified decimal number.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Vector4 CeilCopy(this Vector4 vec)
|
||
|
parameters:
|
||
|
- id: vec
|
||
|
type: Microsoft.Xna.Framework.Vector4
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Vector4
|
||
|
description: The smallest integral value that is greater than or equal to <code class="paramref">d</code>. Note that this method returns a <xref href="System.Decimal" data-throw-if-not-resolved="false"></xref> instead of an integral type.
|
||
|
content.vb: Public Shared Function CeilCopy(vec As Vector4) As Vector4
|
||
|
overload: MLEM.Maths.NumberExtensions.CeilCopy*
|
||
|
- uid: MLEM.Maths.NumberExtensions.Multiply(Microsoft.Xna.Framework.Point,System.Single)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Multiply(Microsoft.Xna.Framework.Point,System.Single)
|
||
|
id: Multiply(Microsoft.Xna.Framework.Point,System.Single)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Multiply(Point, float)
|
||
|
nameWithType: NumberExtensions.Multiply(Point, float)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Multiply(Microsoft.Xna.Framework.Point, float)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Multiply
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 87
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Multiplies a point by a given scalar.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Point Multiply(this Point point, float f)
|
||
|
parameters:
|
||
|
- id: point
|
||
|
type: Microsoft.Xna.Framework.Point
|
||
|
description: The point
|
||
|
- id: f
|
||
|
type: System.Single
|
||
|
description: The scalar
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Point
|
||
|
description: The point, multiplied by the scalar memberwise
|
||
|
content.vb: Public Shared Function Multiply(point As Point, f As Single) As Point
|
||
|
overload: MLEM.Maths.NumberExtensions.Multiply*
|
||
|
nameWithType.vb: NumberExtensions.Multiply(Point, Single)
|
||
|
fullName.vb: MLEM.Maths.NumberExtensions.Multiply(Microsoft.Xna.Framework.Point, Single)
|
||
|
name.vb: Multiply(Point, Single)
|
||
|
- uid: MLEM.Maths.NumberExtensions.Divide(Microsoft.Xna.Framework.Point,System.Single)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Divide(Microsoft.Xna.Framework.Point,System.Single)
|
||
|
id: Divide(Microsoft.Xna.Framework.Point,System.Single)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Divide(Point, float)
|
||
|
nameWithType: NumberExtensions.Divide(Point, float)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Divide(Microsoft.Xna.Framework.Point, float)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Divide
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 97
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Divides a point by a given scalar.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Point Divide(this Point point, float f)
|
||
|
parameters:
|
||
|
- id: point
|
||
|
type: Microsoft.Xna.Framework.Point
|
||
|
description: The point
|
||
|
- id: f
|
||
|
type: System.Single
|
||
|
description: The scalar
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Point
|
||
|
description: The point, divided by the scalar memberwise
|
||
|
content.vb: Public Shared Function Divide(point As Point, f As Single) As Point
|
||
|
overload: MLEM.Maths.NumberExtensions.Divide*
|
||
|
nameWithType.vb: NumberExtensions.Divide(Point, Single)
|
||
|
fullName.vb: MLEM.Maths.NumberExtensions.Divide(Microsoft.Xna.Framework.Point, Single)
|
||
|
name.vb: Divide(Point, Single)
|
||
|
- uid: MLEM.Maths.NumberExtensions.Transform(Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Matrix)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Transform(Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Matrix)
|
||
|
id: Transform(Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Matrix)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Transform(Point, Matrix)
|
||
|
nameWithType: NumberExtensions.Transform(Point, Matrix)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Transform(Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Matrix)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Transform
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 107
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Transforms a point by a given matrix.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Point Transform(this Point position, Matrix matrix)
|
||
|
parameters:
|
||
|
- id: position
|
||
|
type: Microsoft.Xna.Framework.Point
|
||
|
description: The point
|
||
|
- id: matrix
|
||
|
type: Microsoft.Xna.Framework.Matrix
|
||
|
description: The matrix
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Point
|
||
|
description: The point, transformed by the matrix
|
||
|
content.vb: Public Shared Function Transform(position As Point, matrix As Matrix) As Point
|
||
|
overload: MLEM.Maths.NumberExtensions.Transform*
|
||
|
- uid: MLEM.Maths.NumberExtensions.OffsetCopy(Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Point)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.OffsetCopy(Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Point)
|
||
|
id: OffsetCopy(Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Point)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: OffsetCopy(Rectangle, Point)
|
||
|
nameWithType: NumberExtensions.OffsetCopy(Rectangle, Point)
|
||
|
fullName: MLEM.Maths.NumberExtensions.OffsetCopy(Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Point)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: OffsetCopy
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 120
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: >-
|
||
|
Returns a copy of the given rectangle, moved by the given point.
|
||
|
|
||
|
The rectangle's size remains unchanged.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Rectangle OffsetCopy(this Rectangle rect, Point offset)
|
||
|
parameters:
|
||
|
- id: rect
|
||
|
type: Microsoft.Xna.Framework.Rectangle
|
||
|
description: The rectangle to move
|
||
|
- id: offset
|
||
|
type: Microsoft.Xna.Framework.Point
|
||
|
description: The amount to move by
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Rectangle
|
||
|
description: The moved rectangle
|
||
|
content.vb: Public Shared Function OffsetCopy(rect As Rectangle, offset As Point) As Rectangle
|
||
|
overload: MLEM.Maths.NumberExtensions.OffsetCopy*
|
||
|
- uid: MLEM.Maths.NumberExtensions.OffsetCopy(MLEM.Maths.RectangleF,Microsoft.Xna.Framework.Vector2)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.OffsetCopy(MLEM.Maths.RectangleF,Microsoft.Xna.Framework.Vector2)
|
||
|
id: OffsetCopy(MLEM.Maths.RectangleF,Microsoft.Xna.Framework.Vector2)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: OffsetCopy(RectangleF, Vector2)
|
||
|
nameWithType: NumberExtensions.OffsetCopy(RectangleF, Vector2)
|
||
|
fullName: MLEM.Maths.NumberExtensions.OffsetCopy(MLEM.Maths.RectangleF, Microsoft.Xna.Framework.Vector2)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: OffsetCopy
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 127
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: >-
|
||
|
Returns a copy of the given rectangle, moved by the given point.
|
||
|
|
||
|
The rectangle's size remains unchanged.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static RectangleF OffsetCopy(this RectangleF rect, Vector2 offset)
|
||
|
parameters:
|
||
|
- id: rect
|
||
|
type: MLEM.Maths.RectangleF
|
||
|
description: The rectangle to move
|
||
|
- id: offset
|
||
|
type: Microsoft.Xna.Framework.Vector2
|
||
|
description: The amount to move by
|
||
|
return:
|
||
|
type: MLEM.Maths.RectangleF
|
||
|
description: The moved rectangle
|
||
|
content.vb: Public Shared Function OffsetCopy(rect As RectangleF, offset As Vector2) As RectangleF
|
||
|
overload: MLEM.Maths.NumberExtensions.OffsetCopy*
|
||
|
- uid: MLEM.Maths.NumberExtensions.Shrink(Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Point)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Shrink(Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Point)
|
||
|
id: Shrink(Microsoft.Xna.Framework.Rectangle,Microsoft.Xna.Framework.Point)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Shrink(Rectangle, Point)
|
||
|
nameWithType: NumberExtensions.Shrink(Rectangle, Point)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Shrink(Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Point)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Shrink
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 139
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Shrinks the rectangle by the given padding, causing its size to decrease by twice the amount and its position to be moved inwards by the amount.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Rectangle Shrink(this Rectangle rect, Point padding)
|
||
|
parameters:
|
||
|
- id: rect
|
||
|
type: Microsoft.Xna.Framework.Rectangle
|
||
|
description: The rectangle to shrink
|
||
|
- id: padding
|
||
|
type: Microsoft.Xna.Framework.Point
|
||
|
description: The padding to shrink by
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Rectangle
|
||
|
description: The shrunk rectangle
|
||
|
content.vb: Public Shared Function Shrink(rect As Rectangle, padding As Point) As Rectangle
|
||
|
overload: MLEM.Maths.NumberExtensions.Shrink*
|
||
|
- uid: MLEM.Maths.NumberExtensions.Shrink(MLEM.Maths.RectangleF,Microsoft.Xna.Framework.Vector2)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Shrink(MLEM.Maths.RectangleF,Microsoft.Xna.Framework.Vector2)
|
||
|
id: Shrink(MLEM.Maths.RectangleF,Microsoft.Xna.Framework.Vector2)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Shrink(RectangleF, Vector2)
|
||
|
nameWithType: NumberExtensions.Shrink(RectangleF, Vector2)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Shrink(MLEM.Maths.RectangleF, Microsoft.Xna.Framework.Vector2)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Shrink
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 148
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Shrinks the rectangle by the given padding, causing its size to decrease by twice the amount and its position to be moved inwards by the amount.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static RectangleF Shrink(this RectangleF rect, Vector2 padding)
|
||
|
parameters:
|
||
|
- id: rect
|
||
|
type: MLEM.Maths.RectangleF
|
||
|
description: The rectangle to shrink
|
||
|
- id: padding
|
||
|
type: Microsoft.Xna.Framework.Vector2
|
||
|
description: The padding to shrink by
|
||
|
return:
|
||
|
type: MLEM.Maths.RectangleF
|
||
|
description: The shrunk rectangle
|
||
|
content.vb: Public Shared Function Shrink(rect As RectangleF, padding As Vector2) As RectangleF
|
||
|
overload: MLEM.Maths.NumberExtensions.Shrink*
|
||
|
- uid: MLEM.Maths.NumberExtensions.Shrink(MLEM.Maths.RectangleF,MLEM.Maths.Padding)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Shrink(MLEM.Maths.RectangleF,MLEM.Maths.Padding)
|
||
|
id: Shrink(MLEM.Maths.RectangleF,MLEM.Maths.Padding)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Shrink(RectangleF, Padding)
|
||
|
nameWithType: NumberExtensions.Shrink(RectangleF, Padding)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Shrink(MLEM.Maths.RectangleF, MLEM.Maths.Padding)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Shrink
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 157
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Shrinks the rectangle by the given padding, causing its size to decrease by twice the amount and its position to be moved inwards by the amount.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static RectangleF Shrink(this RectangleF rect, Padding padding)
|
||
|
parameters:
|
||
|
- id: rect
|
||
|
type: MLEM.Maths.RectangleF
|
||
|
description: The rectangle to shrink
|
||
|
- id: padding
|
||
|
type: MLEM.Maths.Padding
|
||
|
description: The padding to shrink by
|
||
|
return:
|
||
|
type: MLEM.Maths.RectangleF
|
||
|
description: The shrunk rectangle
|
||
|
content.vb: Public Shared Function Shrink(rect As RectangleF, padding As Padding) As RectangleF
|
||
|
overload: MLEM.Maths.NumberExtensions.Shrink*
|
||
|
- uid: MLEM.Maths.NumberExtensions.GetPoints(Microsoft.Xna.Framework.Rectangle,System.Boolean)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.GetPoints(Microsoft.Xna.Framework.Rectangle,System.Boolean)
|
||
|
id: GetPoints(Microsoft.Xna.Framework.Rectangle,System.Boolean)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: GetPoints(Rectangle, bool)
|
||
|
nameWithType: NumberExtensions.GetPoints(Rectangle, bool)
|
||
|
fullName: MLEM.Maths.NumberExtensions.GetPoints(Microsoft.Xna.Framework.Rectangle, bool)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: GetPoints
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 172
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: >-
|
||
|
Returns a set of <xref href="Microsoft.Xna.Framework.Point" data-throw-if-not-resolved="false"></xref> values that are contained in the given <xref href="Microsoft.Xna.Framework.Rectangle" data-throw-if-not-resolved="false"></xref>.
|
||
|
|
||
|
Note that, by default, <xref href="Microsoft.Xna.Framework.Rectangle.Left" data-throw-if-not-resolved="false"></xref> and <xref href="Microsoft.Xna.Framework.Rectangle.Top" data-throw-if-not-resolved="false"></xref> are inclusive, but <xref href="Microsoft.Xna.Framework.Rectangle.Right" data-throw-if-not-resolved="false"></xref> and <xref href="Microsoft.Xna.Framework.Rectangle.Bottom" data-throw-if-not-resolved="false"></xref> are not.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static IEnumerable<Point> GetPoints(this Rectangle area, bool bottomRightInclusive = false)
|
||
|
parameters:
|
||
|
- id: area
|
||
|
type: Microsoft.Xna.Framework.Rectangle
|
||
|
description: The area whose points to get
|
||
|
- id: bottomRightInclusive
|
||
|
type: System.Boolean
|
||
|
description: Whether <xref href="Microsoft.Xna.Framework.Rectangle.Right" data-throw-if-not-resolved="false"></xref> and <xref href="Microsoft.Xna.Framework.Rectangle.Bottom" data-throw-if-not-resolved="false"></xref> should be inclusive, rather than exclusive.
|
||
|
return:
|
||
|
type: System.Collections.Generic.IEnumerable{Microsoft.Xna.Framework.Point}
|
||
|
description: The points contained in the area
|
||
|
content.vb: Public Shared Function GetPoints(area As Rectangle, bottomRightInclusive As Boolean = False) As IEnumerable(Of Point)
|
||
|
overload: MLEM.Maths.NumberExtensions.GetPoints*
|
||
|
nameWithType.vb: NumberExtensions.GetPoints(Rectangle, Boolean)
|
||
|
fullName.vb: MLEM.Maths.NumberExtensions.GetPoints(Microsoft.Xna.Framework.Rectangle, Boolean)
|
||
|
name.vb: GetPoints(Rectangle, Boolean)
|
||
|
- uid: MLEM.Maths.NumberExtensions.GetPoints(MLEM.Maths.RectangleF,System.Single,System.Boolean)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.GetPoints(MLEM.Maths.RectangleF,System.Single,System.Boolean)
|
||
|
id: GetPoints(MLEM.Maths.RectangleF,System.Single,System.Boolean)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: GetPoints(RectangleF, float, bool)
|
||
|
nameWithType: NumberExtensions.GetPoints(RectangleF, float, bool)
|
||
|
fullName: MLEM.Maths.NumberExtensions.GetPoints(MLEM.Maths.RectangleF, float, bool)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: GetPoints
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 194
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: >-
|
||
|
Returns a set of <xref href="Microsoft.Xna.Framework.Vector2" data-throw-if-not-resolved="false"></xref> values that are contained in the given <xref href="MLEM.Maths.RectangleF" data-throw-if-not-resolved="false"></xref>.
|
||
|
|
||
|
Note that, by default, <xref href="MLEM.Maths.RectangleF.Left" data-throw-if-not-resolved="false"></xref> and <xref href="MLEM.Maths.RectangleF.Top" data-throw-if-not-resolved="false"></xref> are inclusive, but <xref href="MLEM.Maths.RectangleF.Right" data-throw-if-not-resolved="false"></xref> and <xref href="MLEM.Maths.RectangleF.Bottom" data-throw-if-not-resolved="false"></xref> are not.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static IEnumerable<Vector2> GetPoints(this RectangleF area, float interval = 1, bool bottomRightInclusive = false)
|
||
|
parameters:
|
||
|
- id: area
|
||
|
type: MLEM.Maths.RectangleF
|
||
|
description: The area whose points to get
|
||
|
- id: interval
|
||
|
type: System.Single
|
||
|
description: The distance that should be traveled between each point that is to be returned
|
||
|
- id: bottomRightInclusive
|
||
|
type: System.Boolean
|
||
|
description: Whether <xref href="MLEM.Maths.RectangleF.Right" data-throw-if-not-resolved="false"></xref> and <xref href="MLEM.Maths.RectangleF.Bottom" data-throw-if-not-resolved="false"></xref> should be inclusive, rather than exclusive.
|
||
|
return:
|
||
|
type: System.Collections.Generic.IEnumerable{Microsoft.Xna.Framework.Vector2}
|
||
|
description: The points contained in the area
|
||
|
content.vb: Public Shared Function GetPoints(area As RectangleF, interval As Single = 1, bottomRightInclusive As Boolean = False) As IEnumerable(Of Vector2)
|
||
|
overload: MLEM.Maths.NumberExtensions.GetPoints*
|
||
|
nameWithType.vb: NumberExtensions.GetPoints(RectangleF, Single, Boolean)
|
||
|
fullName.vb: MLEM.Maths.NumberExtensions.GetPoints(MLEM.Maths.RectangleF, Single, Boolean)
|
||
|
name.vb: GetPoints(RectangleF, Single, Boolean)
|
||
|
- uid: MLEM.Maths.NumberExtensions.ToVector2(Microsoft.Xna.Framework.Vector3)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.ToVector2(Microsoft.Xna.Framework.Vector3)
|
||
|
id: ToVector2(Microsoft.Xna.Framework.Vector3)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: ToVector2(Vector3)
|
||
|
nameWithType: NumberExtensions.ToVector2(Vector3)
|
||
|
fullName: MLEM.Maths.NumberExtensions.ToVector2(Microsoft.Xna.Framework.Vector3)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: ToVector2
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 213
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Turns the given 3-dimensional vector into a 2-dimensional vector by chopping off the z coordinate.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Vector2 ToVector2(this Vector3 vector)
|
||
|
parameters:
|
||
|
- id: vector
|
||
|
type: Microsoft.Xna.Framework.Vector3
|
||
|
description: The vector to convert
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Vector2
|
||
|
description: The resulting 2-dimensional vector
|
||
|
content.vb: Public Shared Function ToVector2(vector As Vector3) As Vector2
|
||
|
overload: MLEM.Maths.NumberExtensions.ToVector2*
|
||
|
- uid: MLEM.Maths.NumberExtensions.Scale(Microsoft.Xna.Framework.Matrix)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Scale(Microsoft.Xna.Framework.Matrix)
|
||
|
id: Scale(Microsoft.Xna.Framework.Matrix)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Scale(Matrix)
|
||
|
nameWithType: NumberExtensions.Scale(Matrix)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Scale(Microsoft.Xna.Framework.Matrix)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Scale
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 222
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: Returns the 3-dimensional scale of the given matrix.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Vector3 Scale(this Matrix matrix)
|
||
|
parameters:
|
||
|
- id: matrix
|
||
|
type: Microsoft.Xna.Framework.Matrix
|
||
|
description: The matrix
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Vector3
|
||
|
description: The scale of the matrix
|
||
|
content.vb: Public Shared Function Scale(matrix As Matrix) As Vector3
|
||
|
overload: MLEM.Maths.NumberExtensions.Scale*
|
||
|
- uid: MLEM.Maths.NumberExtensions.Rotation(Microsoft.Xna.Framework.Matrix)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Rotation(Microsoft.Xna.Framework.Matrix)
|
||
|
id: Rotation(Microsoft.Xna.Framework.Matrix)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Rotation(Matrix)
|
||
|
nameWithType: NumberExtensions.Rotation(Matrix)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Rotation(Microsoft.Xna.Framework.Matrix)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Rotation
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 239
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: >-
|
||
|
Returns the rotation that the given matrix represents, as a <xref href="Microsoft.Xna.Framework.Quaternion" data-throw-if-not-resolved="false"></xref>.
|
||
|
|
||
|
Returns <xref href="Microsoft.Xna.Framework.Quaternion.Identity" data-throw-if-not-resolved="false"></xref> if the matrix does not contain valid rotation information, or is not rotated.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Quaternion Rotation(this Matrix matrix)
|
||
|
parameters:
|
||
|
- id: matrix
|
||
|
type: Microsoft.Xna.Framework.Matrix
|
||
|
description: The matrix
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Quaternion
|
||
|
description: The rotation of the matrix
|
||
|
content.vb: Public Shared Function Rotation(matrix As Matrix) As Quaternion
|
||
|
overload: MLEM.Maths.NumberExtensions.Rotation*
|
||
|
- uid: MLEM.Maths.NumberExtensions.RotationVector(Microsoft.Xna.Framework.Matrix)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.RotationVector(Microsoft.Xna.Framework.Matrix)
|
||
|
id: RotationVector(Microsoft.Xna.Framework.Matrix)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: RotationVector(Matrix)
|
||
|
nameWithType: NumberExtensions.RotationVector(Matrix)
|
||
|
fullName: MLEM.Maths.NumberExtensions.RotationVector(Microsoft.Xna.Framework.Matrix)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: RotationVector
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 256
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: >-
|
||
|
Returns the rotation that the given matrix represents, as a <xref href="Microsoft.Xna.Framework.Vector3" data-throw-if-not-resolved="false"></xref> that contains the x, y and z rotations in radians.
|
||
|
|
||
|
Returns <xref href="Microsoft.Xna.Framework.Vector3.Zero" data-throw-if-not-resolved="false"></xref> if the matrix does not contain valid rotation information, or is not rotated.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Vector3 RotationVector(this Matrix matrix)
|
||
|
parameters:
|
||
|
- id: matrix
|
||
|
type: Microsoft.Xna.Framework.Matrix
|
||
|
description: The matrix
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Vector3
|
||
|
description: The rotation of the matrix
|
||
|
content.vb: Public Shared Function RotationVector(matrix As Matrix) As Vector3
|
||
|
overload: MLEM.Maths.NumberExtensions.RotationVector*
|
||
|
- uid: MLEM.Maths.NumberExtensions.RotationVector(Microsoft.Xna.Framework.Quaternion)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.RotationVector(Microsoft.Xna.Framework.Quaternion)
|
||
|
id: RotationVector(Microsoft.Xna.Framework.Quaternion)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: RotationVector(Quaternion)
|
||
|
nameWithType: NumberExtensions.RotationVector(Quaternion)
|
||
|
fullName: MLEM.Maths.NumberExtensions.RotationVector(Microsoft.Xna.Framework.Quaternion)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: RotationVector
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 266
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: >-
|
||
|
Returns the rotation that the given quaternion represents, as a <xref href="Microsoft.Xna.Framework.Vector3" data-throw-if-not-resolved="false"></xref> that contains the x, y and z rotations in radians.
|
||
|
|
||
|
Returns <xref href="Microsoft.Xna.Framework.Vector3.Zero" data-throw-if-not-resolved="false"></xref> if the quaternion does not contain valid rotation information, or is not rotated.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static Vector3 RotationVector(this Quaternion quaternion)
|
||
|
parameters:
|
||
|
- id: quaternion
|
||
|
type: Microsoft.Xna.Framework.Quaternion
|
||
|
description: The quaternion
|
||
|
return:
|
||
|
type: Microsoft.Xna.Framework.Vector3
|
||
|
description: The rotation of the quaternion
|
||
|
content.vb: Public Shared Function RotationVector(quaternion As Quaternion) As Vector3
|
||
|
overload: MLEM.Maths.NumberExtensions.RotationVector*
|
||
|
- uid: MLEM.Maths.NumberExtensions.Penetrate(MLEM.Maths.RectangleF,MLEM.Maths.RectangleF,Microsoft.Xna.Framework.Vector2@,System.Single@)
|
||
|
commentId: M:MLEM.Maths.NumberExtensions.Penetrate(MLEM.Maths.RectangleF,MLEM.Maths.RectangleF,Microsoft.Xna.Framework.Vector2@,System.Single@)
|
||
|
id: Penetrate(MLEM.Maths.RectangleF,MLEM.Maths.RectangleF,Microsoft.Xna.Framework.Vector2@,System.Single@)
|
||
|
isExtensionMethod: true
|
||
|
parent: MLEM.Maths.NumberExtensions
|
||
|
langs:
|
||
|
- csharp
|
||
|
- vb
|
||
|
name: Penetrate(RectangleF, RectangleF, out Vector2, out float)
|
||
|
nameWithType: NumberExtensions.Penetrate(RectangleF, RectangleF, out Vector2, out float)
|
||
|
fullName: MLEM.Maths.NumberExtensions.Penetrate(MLEM.Maths.RectangleF, MLEM.Maths.RectangleF, out Microsoft.Xna.Framework.Vector2, out float)
|
||
|
type: Method
|
||
|
source:
|
||
|
remote:
|
||
|
path: MLEM/Maths/NumberExtensions.cs
|
||
|
branch: main
|
||
|
repo: https://github.com/Ellpeck/MLEM
|
||
|
id: Penetrate
|
||
|
path: ../MLEM/Maths/NumberExtensions.cs
|
||
|
startLine: 284
|
||
|
assemblies:
|
||
|
- MLEM
|
||
|
namespace: MLEM.Maths
|
||
|
summary: >-
|
||
|
Calculates the amount that the rectangle <code class="paramref">rect</code> is penetrating the rectangle <code class="paramref">other</code> by.
|
||
|
|
||
|
If a penetration on both axes is occuring, the one with the lower value is returned.
|
||
|
|
||
|
This is useful for collision detection, as it can be used to push colliding objects out of each other.
|
||
|
example: []
|
||
|
syntax:
|
||
|
content: public static bool Penetrate(this RectangleF rect, RectangleF other, out Vector2 normal, out float penetration)
|
||
|
parameters:
|
||
|
- id: rect
|
||
|
type: MLEM.Maths.RectangleF
|
||
|
description: The rectangle to do the penetration
|
||
|
- id: other
|
||
|
type: MLEM.Maths.RectangleF
|
||
|
description: The rectangle that should be penetrated
|
||
|
- id: normal
|
||
|
type: Microsoft.Xna.Framework.Vector2
|
||
|
description: The direction that the penetration occured in
|
||
|
- id: penetration
|
||
|
type: System.Single
|
||
|
description: The amount that the penetration occured by, in the direction of <code class="paramref">normal</code>
|
||
|
return:
|
||
|
type: System.Boolean
|
||
|
description: Whether or not a penetration occured
|
||
|
content.vb: Public Shared Function Penetrate(rect As RectangleF, other As RectangleF, normal As Vector2, penetration As Single) As Boolean
|
||
|
overload: MLEM.Maths.NumberExtensions.Penetrate*
|
||
|
nameWithType.vb: NumberExtensions.Penetrate(RectangleF, RectangleF, Vector2, Single)
|
||
|
fullName.vb: MLEM.Maths.NumberExtensions.Penetrate(MLEM.Maths.RectangleF, MLEM.Maths.RectangleF, Microsoft.Xna.Framework.Vector2, Single)
|
||
|
name.vb: Penetrate(RectangleF, RectangleF, Vector2, Single)
|
||
|
references:
|
||
|
- uid: System.Single
|
||
|
commentId: T:System.Single
|
||
|
parent: System
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.single
|
||
|
name: float
|
||
|
nameWithType: float
|
||
|
fullName: float
|
||
|
nameWithType.vb: Single
|
||
|
fullName.vb: Single
|
||
|
name.vb: Single
|
||
|
- uid: Microsoft.Xna.Framework.Vector2
|
||
|
commentId: T:Microsoft.Xna.Framework.Vector2
|
||
|
parent: Microsoft.Xna.Framework
|
||
|
isExternal: true
|
||
|
name: Vector2
|
||
|
nameWithType: Vector2
|
||
|
fullName: Microsoft.Xna.Framework.Vector2
|
||
|
- uid: Microsoft.Xna.Framework.Vector3
|
||
|
commentId: T:Microsoft.Xna.Framework.Vector3
|
||
|
parent: Microsoft.Xna.Framework
|
||
|
isExternal: true
|
||
|
name: Vector3
|
||
|
nameWithType: Vector3
|
||
|
fullName: Microsoft.Xna.Framework.Vector3
|
||
|
- uid: Microsoft.Xna.Framework.Vector4
|
||
|
commentId: T:Microsoft.Xna.Framework.Vector4
|
||
|
parent: Microsoft.Xna.Framework
|
||
|
isExternal: true
|
||
|
name: Vector4
|
||
|
nameWithType: Vector4
|
||
|
fullName: Microsoft.Xna.Framework.Vector4
|
||
|
- uid: Microsoft.Xna.Framework.Point
|
||
|
commentId: T:Microsoft.Xna.Framework.Point
|
||
|
parent: Microsoft.Xna.Framework
|
||
|
isExternal: true
|
||
|
name: Point
|
||
|
nameWithType: Point
|
||
|
fullName: Microsoft.Xna.Framework.Point
|
||
|
- uid: Microsoft.Xna.Framework.Matrix
|
||
|
commentId: T:Microsoft.Xna.Framework.Matrix
|
||
|
parent: Microsoft.Xna.Framework
|
||
|
isExternal: true
|
||
|
name: Matrix
|
||
|
nameWithType: Matrix
|
||
|
fullName: Microsoft.Xna.Framework.Matrix
|
||
|
- uid: Microsoft.Xna.Framework.Rectangle
|
||
|
commentId: T:Microsoft.Xna.Framework.Rectangle
|
||
|
parent: Microsoft.Xna.Framework
|
||
|
isExternal: true
|
||
|
name: Rectangle
|
||
|
nameWithType: Rectangle
|
||
|
fullName: Microsoft.Xna.Framework.Rectangle
|
||
|
- uid: MLEM.Maths.RectangleF
|
||
|
commentId: T:MLEM.Maths.RectangleF
|
||
|
parent: MLEM.Maths
|
||
|
href: MLEM.Maths.RectangleF.html
|
||
|
name: RectangleF
|
||
|
nameWithType: RectangleF
|
||
|
fullName: MLEM.Maths.RectangleF
|
||
|
- uid: MLEM.Maths
|
||
|
commentId: N:MLEM.Maths
|
||
|
href: MLEM.html
|
||
|
name: MLEM.Maths
|
||
|
nameWithType: MLEM.Maths
|
||
|
fullName: MLEM.Maths
|
||
|
spec.csharp:
|
||
|
- uid: MLEM
|
||
|
name: MLEM
|
||
|
href: MLEM.html
|
||
|
- name: .
|
||
|
- uid: MLEM.Maths
|
||
|
name: Maths
|
||
|
href: MLEM.Maths.html
|
||
|
spec.vb:
|
||
|
- uid: MLEM
|
||
|
name: MLEM
|
||
|
href: MLEM.html
|
||
|
- name: .
|
||
|
- uid: MLEM.Maths
|
||
|
name: Maths
|
||
|
href: MLEM.Maths.html
|
||
|
- uid: System.Object
|
||
|
commentId: T:System.Object
|
||
|
parent: System
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
||
|
name: object
|
||
|
nameWithType: object
|
||
|
fullName: object
|
||
|
nameWithType.vb: Object
|
||
|
fullName.vb: Object
|
||
|
name.vb: Object
|
||
|
- uid: System.Object.ToString
|
||
|
commentId: M:System.Object.ToString
|
||
|
parent: System.Object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
|
||
|
name: ToString()
|
||
|
nameWithType: object.ToString()
|
||
|
fullName: object.ToString()
|
||
|
nameWithType.vb: Object.ToString()
|
||
|
fullName.vb: Object.ToString()
|
||
|
spec.csharp:
|
||
|
- uid: System.Object.ToString
|
||
|
name: ToString
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
|
||
|
- name: (
|
||
|
- name: )
|
||
|
spec.vb:
|
||
|
- uid: System.Object.ToString
|
||
|
name: ToString
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
|
||
|
- name: (
|
||
|
- name: )
|
||
|
- uid: System.Object.Equals(System.Object)
|
||
|
commentId: M:System.Object.Equals(System.Object)
|
||
|
parent: System.Object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
|
||
|
name: Equals(object)
|
||
|
nameWithType: object.Equals(object)
|
||
|
fullName: object.Equals(object)
|
||
|
nameWithType.vb: Object.Equals(Object)
|
||
|
fullName.vb: Object.Equals(Object)
|
||
|
name.vb: Equals(Object)
|
||
|
spec.csharp:
|
||
|
- uid: System.Object.Equals(System.Object)
|
||
|
name: Equals
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
|
||
|
- name: (
|
||
|
- uid: System.Object
|
||
|
name: object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
||
|
- name: )
|
||
|
spec.vb:
|
||
|
- uid: System.Object.Equals(System.Object)
|
||
|
name: Equals
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
|
||
|
- name: (
|
||
|
- uid: System.Object
|
||
|
name: Object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
||
|
- name: )
|
||
|
- uid: System.Object.Equals(System.Object,System.Object)
|
||
|
commentId: M:System.Object.Equals(System.Object,System.Object)
|
||
|
parent: System.Object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
|
||
|
name: Equals(object, object)
|
||
|
nameWithType: object.Equals(object, object)
|
||
|
fullName: object.Equals(object, object)
|
||
|
nameWithType.vb: Object.Equals(Object, Object)
|
||
|
fullName.vb: Object.Equals(Object, Object)
|
||
|
name.vb: Equals(Object, Object)
|
||
|
spec.csharp:
|
||
|
- uid: System.Object.Equals(System.Object,System.Object)
|
||
|
name: Equals
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
|
||
|
- name: (
|
||
|
- uid: System.Object
|
||
|
name: object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
||
|
- name: ','
|
||
|
- name: " "
|
||
|
- uid: System.Object
|
||
|
name: object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
||
|
- name: )
|
||
|
spec.vb:
|
||
|
- uid: System.Object.Equals(System.Object,System.Object)
|
||
|
name: Equals
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
|
||
|
- name: (
|
||
|
- uid: System.Object
|
||
|
name: Object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
||
|
- name: ','
|
||
|
- name: " "
|
||
|
- uid: System.Object
|
||
|
name: Object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
||
|
- name: )
|
||
|
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
|
||
|
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
|
||
|
parent: System.Object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
|
||
|
name: ReferenceEquals(object, object)
|
||
|
nameWithType: object.ReferenceEquals(object, object)
|
||
|
fullName: object.ReferenceEquals(object, object)
|
||
|
nameWithType.vb: Object.ReferenceEquals(Object, Object)
|
||
|
fullName.vb: Object.ReferenceEquals(Object, Object)
|
||
|
name.vb: ReferenceEquals(Object, Object)
|
||
|
spec.csharp:
|
||
|
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
|
||
|
name: ReferenceEquals
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
|
||
|
- name: (
|
||
|
- uid: System.Object
|
||
|
name: object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
||
|
- name: ','
|
||
|
- name: " "
|
||
|
- uid: System.Object
|
||
|
name: object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
||
|
- name: )
|
||
|
spec.vb:
|
||
|
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
|
||
|
name: ReferenceEquals
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
|
||
|
- name: (
|
||
|
- uid: System.Object
|
||
|
name: Object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
||
|
- name: ','
|
||
|
- name: " "
|
||
|
- uid: System.Object
|
||
|
name: Object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object
|
||
|
- name: )
|
||
|
- uid: System.Object.GetHashCode
|
||
|
commentId: M:System.Object.GetHashCode
|
||
|
parent: System.Object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
|
||
|
name: GetHashCode()
|
||
|
nameWithType: object.GetHashCode()
|
||
|
fullName: object.GetHashCode()
|
||
|
nameWithType.vb: Object.GetHashCode()
|
||
|
fullName.vb: Object.GetHashCode()
|
||
|
spec.csharp:
|
||
|
- uid: System.Object.GetHashCode
|
||
|
name: GetHashCode
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
|
||
|
- name: (
|
||
|
- name: )
|
||
|
spec.vb:
|
||
|
- uid: System.Object.GetHashCode
|
||
|
name: GetHashCode
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
|
||
|
- name: (
|
||
|
- name: )
|
||
|
- uid: System.Object.GetType
|
||
|
commentId: M:System.Object.GetType
|
||
|
parent: System.Object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
|
||
|
name: GetType()
|
||
|
nameWithType: object.GetType()
|
||
|
fullName: object.GetType()
|
||
|
nameWithType.vb: Object.GetType()
|
||
|
fullName.vb: Object.GetType()
|
||
|
spec.csharp:
|
||
|
- uid: System.Object.GetType
|
||
|
name: GetType
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
|
||
|
- name: (
|
||
|
- name: )
|
||
|
spec.vb:
|
||
|
- uid: System.Object.GetType
|
||
|
name: GetType
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
|
||
|
- name: (
|
||
|
- name: )
|
||
|
- uid: System.Object.MemberwiseClone
|
||
|
commentId: M:System.Object.MemberwiseClone
|
||
|
parent: System.Object
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
|
||
|
name: MemberwiseClone()
|
||
|
nameWithType: object.MemberwiseClone()
|
||
|
fullName: object.MemberwiseClone()
|
||
|
nameWithType.vb: Object.MemberwiseClone()
|
||
|
fullName.vb: Object.MemberwiseClone()
|
||
|
spec.csharp:
|
||
|
- uid: System.Object.MemberwiseClone
|
||
|
name: MemberwiseClone
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
|
||
|
- name: (
|
||
|
- name: )
|
||
|
spec.vb:
|
||
|
- uid: System.Object.MemberwiseClone
|
||
|
name: MemberwiseClone
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
|
||
|
- name: (
|
||
|
- name: )
|
||
|
- uid: System
|
||
|
commentId: N:System
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system
|
||
|
name: System
|
||
|
nameWithType: System
|
||
|
fullName: System
|
||
|
- uid: Microsoft.Xna.Framework
|
||
|
commentId: N:Microsoft.Xna.Framework
|
||
|
isExternal: true
|
||
|
name: Microsoft.Xna.Framework
|
||
|
nameWithType: Microsoft.Xna.Framework
|
||
|
fullName: Microsoft.Xna.Framework
|
||
|
spec.csharp:
|
||
|
- uid: Microsoft
|
||
|
name: Microsoft
|
||
|
isExternal: true
|
||
|
- name: .
|
||
|
- uid: Microsoft.Xna
|
||
|
name: Xna
|
||
|
isExternal: true
|
||
|
- name: .
|
||
|
- uid: Microsoft.Xna.Framework
|
||
|
name: Framework
|
||
|
isExternal: true
|
||
|
spec.vb:
|
||
|
- uid: Microsoft
|
||
|
name: Microsoft
|
||
|
isExternal: true
|
||
|
- name: .
|
||
|
- uid: Microsoft.Xna
|
||
|
name: Xna
|
||
|
isExternal: true
|
||
|
- name: .
|
||
|
- uid: Microsoft.Xna.Framework
|
||
|
name: Framework
|
||
|
isExternal: true
|
||
|
- uid: System.Math
|
||
|
commentId: T:System.Math
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.math
|
||
|
name: Math
|
||
|
nameWithType: Math
|
||
|
fullName: System.Math
|
||
|
- uid: MLEM.Maths.NumberExtensions.Floor*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.Floor
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_Floor_System_Single_
|
||
|
name: Floor
|
||
|
nameWithType: NumberExtensions.Floor
|
||
|
fullName: MLEM.Maths.NumberExtensions.Floor
|
||
|
- uid: System.Int32
|
||
|
commentId: T:System.Int32
|
||
|
parent: System
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.int32
|
||
|
name: int
|
||
|
nameWithType: int
|
||
|
fullName: int
|
||
|
nameWithType.vb: Integer
|
||
|
fullName.vb: Integer
|
||
|
name.vb: Integer
|
||
|
- uid: System.Decimal
|
||
|
commentId: T:System.Decimal
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.decimal
|
||
|
name: decimal
|
||
|
nameWithType: decimal
|
||
|
fullName: decimal
|
||
|
nameWithType.vb: Decimal
|
||
|
fullName.vb: Decimal
|
||
|
name.vb: Decimal
|
||
|
- uid: MLEM.Maths.NumberExtensions.Ceil*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.Ceil
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_Ceil_System_Single_
|
||
|
name: Ceil
|
||
|
nameWithType: NumberExtensions.Ceil
|
||
|
fullName: MLEM.Maths.NumberExtensions.Ceil
|
||
|
- uid: MLEM.Maths.NumberExtensions.Equals*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.Equals
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_Equals_System_Single_System_Single_System_Single_
|
||
|
name: Equals
|
||
|
nameWithType: NumberExtensions.Equals
|
||
|
fullName: MLEM.Maths.NumberExtensions.Equals
|
||
|
- uid: System.Boolean
|
||
|
commentId: T:System.Boolean
|
||
|
parent: System
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.boolean
|
||
|
name: bool
|
||
|
nameWithType: bool
|
||
|
fullName: bool
|
||
|
nameWithType.vb: Boolean
|
||
|
fullName.vb: Boolean
|
||
|
name.vb: Boolean
|
||
|
- uid: Microsoft.Xna.Framework.Quaternion
|
||
|
commentId: T:Microsoft.Xna.Framework.Quaternion
|
||
|
parent: Microsoft.Xna.Framework
|
||
|
isExternal: true
|
||
|
name: Quaternion
|
||
|
nameWithType: Quaternion
|
||
|
fullName: Microsoft.Xna.Framework.Quaternion
|
||
|
- uid: MLEM.Maths.NumberExtensions.FloorCopy*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.FloorCopy
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_FloorCopy_Microsoft_Xna_Framework_Vector2_
|
||
|
name: FloorCopy
|
||
|
nameWithType: NumberExtensions.FloorCopy
|
||
|
fullName: MLEM.Maths.NumberExtensions.FloorCopy
|
||
|
- uid: MLEM.Maths.NumberExtensions.CeilCopy*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.CeilCopy
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_CeilCopy_Microsoft_Xna_Framework_Vector2_
|
||
|
name: CeilCopy
|
||
|
nameWithType: NumberExtensions.CeilCopy
|
||
|
fullName: MLEM.Maths.NumberExtensions.CeilCopy
|
||
|
- uid: MLEM.Maths.NumberExtensions.Multiply*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.Multiply
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_Multiply_Microsoft_Xna_Framework_Point_System_Single_
|
||
|
name: Multiply
|
||
|
nameWithType: NumberExtensions.Multiply
|
||
|
fullName: MLEM.Maths.NumberExtensions.Multiply
|
||
|
- uid: MLEM.Maths.NumberExtensions.Divide*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.Divide
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_Divide_Microsoft_Xna_Framework_Point_System_Single_
|
||
|
name: Divide
|
||
|
nameWithType: NumberExtensions.Divide
|
||
|
fullName: MLEM.Maths.NumberExtensions.Divide
|
||
|
- uid: MLEM.Maths.NumberExtensions.Transform*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.Transform
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_Transform_Microsoft_Xna_Framework_Point_Microsoft_Xna_Framework_Matrix_
|
||
|
name: Transform
|
||
|
nameWithType: NumberExtensions.Transform
|
||
|
fullName: MLEM.Maths.NumberExtensions.Transform
|
||
|
- uid: MLEM.Maths.NumberExtensions.OffsetCopy*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.OffsetCopy
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_OffsetCopy_Microsoft_Xna_Framework_Rectangle_Microsoft_Xna_Framework_Point_
|
||
|
name: OffsetCopy
|
||
|
nameWithType: NumberExtensions.OffsetCopy
|
||
|
fullName: MLEM.Maths.NumberExtensions.OffsetCopy
|
||
|
- uid: MLEM.Maths.NumberExtensions.Shrink*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.Shrink
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_Shrink_Microsoft_Xna_Framework_Rectangle_Microsoft_Xna_Framework_Point_
|
||
|
name: Shrink
|
||
|
nameWithType: NumberExtensions.Shrink
|
||
|
fullName: MLEM.Maths.NumberExtensions.Shrink
|
||
|
- uid: MLEM.Maths.Padding
|
||
|
commentId: T:MLEM.Maths.Padding
|
||
|
parent: MLEM.Maths
|
||
|
href: MLEM.Maths.Padding.html
|
||
|
name: Padding
|
||
|
nameWithType: Padding
|
||
|
fullName: MLEM.Maths.Padding
|
||
|
- uid: Microsoft.Xna.Framework.Rectangle.Left
|
||
|
commentId: P:Microsoft.Xna.Framework.Rectangle.Left
|
||
|
isExternal: true
|
||
|
name: Left
|
||
|
nameWithType: Rectangle.Left
|
||
|
fullName: Microsoft.Xna.Framework.Rectangle.Left
|
||
|
- uid: Microsoft.Xna.Framework.Rectangle.Top
|
||
|
commentId: P:Microsoft.Xna.Framework.Rectangle.Top
|
||
|
isExternal: true
|
||
|
name: Top
|
||
|
nameWithType: Rectangle.Top
|
||
|
fullName: Microsoft.Xna.Framework.Rectangle.Top
|
||
|
- uid: Microsoft.Xna.Framework.Rectangle.Right
|
||
|
commentId: P:Microsoft.Xna.Framework.Rectangle.Right
|
||
|
isExternal: true
|
||
|
name: Right
|
||
|
nameWithType: Rectangle.Right
|
||
|
fullName: Microsoft.Xna.Framework.Rectangle.Right
|
||
|
- uid: Microsoft.Xna.Framework.Rectangle.Bottom
|
||
|
commentId: P:Microsoft.Xna.Framework.Rectangle.Bottom
|
||
|
isExternal: true
|
||
|
name: Bottom
|
||
|
nameWithType: Rectangle.Bottom
|
||
|
fullName: Microsoft.Xna.Framework.Rectangle.Bottom
|
||
|
- uid: MLEM.Maths.NumberExtensions.GetPoints*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.GetPoints
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_GetPoints_Microsoft_Xna_Framework_Rectangle_System_Boolean_
|
||
|
name: GetPoints
|
||
|
nameWithType: NumberExtensions.GetPoints
|
||
|
fullName: MLEM.Maths.NumberExtensions.GetPoints
|
||
|
- uid: System.Collections.Generic.IEnumerable{Microsoft.Xna.Framework.Point}
|
||
|
commentId: T:System.Collections.Generic.IEnumerable{Microsoft.Xna.Framework.Point}
|
||
|
parent: System.Collections.Generic
|
||
|
definition: System.Collections.Generic.IEnumerable`1
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1
|
||
|
name: IEnumerable<Point>
|
||
|
nameWithType: IEnumerable<Point>
|
||
|
fullName: System.Collections.Generic.IEnumerable<Microsoft.Xna.Framework.Point>
|
||
|
nameWithType.vb: IEnumerable(Of Point)
|
||
|
fullName.vb: System.Collections.Generic.IEnumerable(Of Microsoft.Xna.Framework.Point)
|
||
|
name.vb: IEnumerable(Of Point)
|
||
|
spec.csharp:
|
||
|
- uid: System.Collections.Generic.IEnumerable`1
|
||
|
name: IEnumerable
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1
|
||
|
- name: <
|
||
|
- uid: Microsoft.Xna.Framework.Point
|
||
|
name: Point
|
||
|
isExternal: true
|
||
|
- name: '>'
|
||
|
spec.vb:
|
||
|
- uid: System.Collections.Generic.IEnumerable`1
|
||
|
name: IEnumerable
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1
|
||
|
- name: (
|
||
|
- name: Of
|
||
|
- name: " "
|
||
|
- uid: Microsoft.Xna.Framework.Point
|
||
|
name: Point
|
||
|
isExternal: true
|
||
|
- name: )
|
||
|
- uid: System.Collections.Generic.IEnumerable`1
|
||
|
commentId: T:System.Collections.Generic.IEnumerable`1
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1
|
||
|
name: IEnumerable<T>
|
||
|
nameWithType: IEnumerable<T>
|
||
|
fullName: System.Collections.Generic.IEnumerable<T>
|
||
|
nameWithType.vb: IEnumerable(Of T)
|
||
|
fullName.vb: System.Collections.Generic.IEnumerable(Of T)
|
||
|
name.vb: IEnumerable(Of T)
|
||
|
spec.csharp:
|
||
|
- uid: System.Collections.Generic.IEnumerable`1
|
||
|
name: IEnumerable
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1
|
||
|
- name: <
|
||
|
- name: T
|
||
|
- name: '>'
|
||
|
spec.vb:
|
||
|
- uid: System.Collections.Generic.IEnumerable`1
|
||
|
name: IEnumerable
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1
|
||
|
- name: (
|
||
|
- name: Of
|
||
|
- name: " "
|
||
|
- name: T
|
||
|
- name: )
|
||
|
- uid: System.Collections.Generic
|
||
|
commentId: N:System.Collections.Generic
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system
|
||
|
name: System.Collections.Generic
|
||
|
nameWithType: System.Collections.Generic
|
||
|
fullName: System.Collections.Generic
|
||
|
spec.csharp:
|
||
|
- uid: System
|
||
|
name: System
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system
|
||
|
- name: .
|
||
|
- uid: System.Collections
|
||
|
name: Collections
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections
|
||
|
- name: .
|
||
|
- uid: System.Collections.Generic
|
||
|
name: Generic
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections.generic
|
||
|
spec.vb:
|
||
|
- uid: System
|
||
|
name: System
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system
|
||
|
- name: .
|
||
|
- uid: System.Collections
|
||
|
name: Collections
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections
|
||
|
- name: .
|
||
|
- uid: System.Collections.Generic
|
||
|
name: Generic
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections.generic
|
||
|
- uid: MLEM.Maths.RectangleF.Left
|
||
|
commentId: P:MLEM.Maths.RectangleF.Left
|
||
|
href: MLEM.Maths.RectangleF.html#MLEM_Maths_RectangleF_Left
|
||
|
name: Left
|
||
|
nameWithType: RectangleF.Left
|
||
|
fullName: MLEM.Maths.RectangleF.Left
|
||
|
- uid: MLEM.Maths.RectangleF.Top
|
||
|
commentId: P:MLEM.Maths.RectangleF.Top
|
||
|
href: MLEM.Maths.RectangleF.html#MLEM_Maths_RectangleF_Top
|
||
|
name: Top
|
||
|
nameWithType: RectangleF.Top
|
||
|
fullName: MLEM.Maths.RectangleF.Top
|
||
|
- uid: MLEM.Maths.RectangleF.Right
|
||
|
commentId: P:MLEM.Maths.RectangleF.Right
|
||
|
href: MLEM.Maths.RectangleF.html#MLEM_Maths_RectangleF_Right
|
||
|
name: Right
|
||
|
nameWithType: RectangleF.Right
|
||
|
fullName: MLEM.Maths.RectangleF.Right
|
||
|
- uid: MLEM.Maths.RectangleF.Bottom
|
||
|
commentId: P:MLEM.Maths.RectangleF.Bottom
|
||
|
href: MLEM.Maths.RectangleF.html#MLEM_Maths_RectangleF_Bottom
|
||
|
name: Bottom
|
||
|
nameWithType: RectangleF.Bottom
|
||
|
fullName: MLEM.Maths.RectangleF.Bottom
|
||
|
- uid: System.Collections.Generic.IEnumerable{Microsoft.Xna.Framework.Vector2}
|
||
|
commentId: T:System.Collections.Generic.IEnumerable{Microsoft.Xna.Framework.Vector2}
|
||
|
parent: System.Collections.Generic
|
||
|
definition: System.Collections.Generic.IEnumerable`1
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1
|
||
|
name: IEnumerable<Vector2>
|
||
|
nameWithType: IEnumerable<Vector2>
|
||
|
fullName: System.Collections.Generic.IEnumerable<Microsoft.Xna.Framework.Vector2>
|
||
|
nameWithType.vb: IEnumerable(Of Vector2)
|
||
|
fullName.vb: System.Collections.Generic.IEnumerable(Of Microsoft.Xna.Framework.Vector2)
|
||
|
name.vb: IEnumerable(Of Vector2)
|
||
|
spec.csharp:
|
||
|
- uid: System.Collections.Generic.IEnumerable`1
|
||
|
name: IEnumerable
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1
|
||
|
- name: <
|
||
|
- uid: Microsoft.Xna.Framework.Vector2
|
||
|
name: Vector2
|
||
|
isExternal: true
|
||
|
- name: '>'
|
||
|
spec.vb:
|
||
|
- uid: System.Collections.Generic.IEnumerable`1
|
||
|
name: IEnumerable
|
||
|
isExternal: true
|
||
|
href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1
|
||
|
- name: (
|
||
|
- name: Of
|
||
|
- name: " "
|
||
|
- uid: Microsoft.Xna.Framework.Vector2
|
||
|
name: Vector2
|
||
|
isExternal: true
|
||
|
- name: )
|
||
|
- uid: MLEM.Maths.NumberExtensions.ToVector2*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.ToVector2
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_ToVector2_Microsoft_Xna_Framework_Vector3_
|
||
|
name: ToVector2
|
||
|
nameWithType: NumberExtensions.ToVector2
|
||
|
fullName: MLEM.Maths.NumberExtensions.ToVector2
|
||
|
- uid: MLEM.Maths.NumberExtensions.Scale*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.Scale
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_Scale_Microsoft_Xna_Framework_Matrix_
|
||
|
name: Scale
|
||
|
nameWithType: NumberExtensions.Scale
|
||
|
fullName: MLEM.Maths.NumberExtensions.Scale
|
||
|
- uid: Microsoft.Xna.Framework.Quaternion.Identity
|
||
|
commentId: P:Microsoft.Xna.Framework.Quaternion.Identity
|
||
|
isExternal: true
|
||
|
name: Identity
|
||
|
nameWithType: Quaternion.Identity
|
||
|
fullName: Microsoft.Xna.Framework.Quaternion.Identity
|
||
|
- uid: MLEM.Maths.NumberExtensions.Rotation*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.Rotation
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_Rotation_Microsoft_Xna_Framework_Matrix_
|
||
|
name: Rotation
|
||
|
nameWithType: NumberExtensions.Rotation
|
||
|
fullName: MLEM.Maths.NumberExtensions.Rotation
|
||
|
- uid: Microsoft.Xna.Framework.Vector3.Zero
|
||
|
commentId: P:Microsoft.Xna.Framework.Vector3.Zero
|
||
|
isExternal: true
|
||
|
name: Zero
|
||
|
nameWithType: Vector3.Zero
|
||
|
fullName: Microsoft.Xna.Framework.Vector3.Zero
|
||
|
- uid: MLEM.Maths.NumberExtensions.RotationVector*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.RotationVector
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_RotationVector_Microsoft_Xna_Framework_Matrix_
|
||
|
name: RotationVector
|
||
|
nameWithType: NumberExtensions.RotationVector
|
||
|
fullName: MLEM.Maths.NumberExtensions.RotationVector
|
||
|
- uid: MLEM.Maths.NumberExtensions.Penetrate*
|
||
|
commentId: Overload:MLEM.Maths.NumberExtensions.Penetrate
|
||
|
href: MLEM.Maths.NumberExtensions.html#MLEM_Maths_NumberExtensions_Penetrate_MLEM_Maths_RectangleF_MLEM_Maths_RectangleF_Microsoft_Xna_Framework_Vector2__System_Single__
|
||
|
name: Penetrate
|
||
|
nameWithType: NumberExtensions.Penetrate
|
||
|
fullName: MLEM.Maths.NumberExtensions.Penetrate
|