Struct D2D1Vector3F
A vector of 3 FLOAT values (x, y, z).
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public struct D2D1Vector3F : IEquatable<D2D1Vector3F>
Constructors
|
Edit this page
View Source
D2D1Vector3F(float, float, float)
Declaration
public D2D1Vector3F(float x, float y, float z)
Parameters
| Type |
Name |
Description |
| float |
x |
The x value of the vector.
|
| float |
y |
The y value of the vector.
|
| float |
z |
The z value of the vector.
|
Properties
|
Edit this page
View Source
X
Gets or sets the x value of the vector.
Declaration
public float X { get; set; }
Property Value
|
Edit this page
View Source
Y
Gets or sets the y value of the vector.
Declaration
public float Y { get; set; }
Property Value
|
Edit this page
View Source
Z
Gets or sets the z value of the vector.
Declaration
public float Z { get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D2D1Vector3F)
Declaration
public readonly bool Equals(D2D1Vector3F other)
Parameters
Returns
|
Edit this page
View Source
Equals(object?)
Declaration
public override readonly bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override readonly int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
NativeReadFrom(nint)
Declaration
public static D2D1Vector3F NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D2D1Vector3F>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D2D1Vector3F> objects)
Parameters
|
Edit this page
View Source
NativeRequiredSize()
Declaration
public static int NativeRequiredSize()
Returns
|
Edit this page
View Source
NativeRequiredSize(int)
Declaration
public static int NativeRequiredSize(int count)
Parameters
| Type |
Name |
Description |
| int |
count |
|
Returns
|
Edit this page
View Source
NativeWriteTo(nint, in D2D1Vector3F)
Declaration
public static void NativeWriteTo(nint buffer, in D2D1Vector3F obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D2D1Vector3F>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D2D1Vector3F> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D2D1Vector3F, D2D1Vector3F)
Declaration
public static bool operator ==(D2D1Vector3F left, D2D1Vector3F right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D2D1Vector3F, D2D1Vector3F)
Declaration
public static bool operator !=(D2D1Vector3F left, D2D1Vector3F right)
Parameters
Returns
Implements