Struct D2D1Vector4F
A vector of 4 FLOAT values (x, y, z, w).
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public struct D2D1Vector4F : IEquatable<D2D1Vector4F>
Constructors
|
Edit this page
View Source
D2D1Vector4F(float, float, float, float)
Declaration
public D2D1Vector4F(float x, float y, float z, float w)
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.
|
| float |
w |
The w value of the vector.
|
Properties
|
Edit this page
View Source
W
Gets or sets the w value of the vector.
Declaration
public float W { get; set; }
Property Value
|
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(D2D1Vector4F)
Declaration
public readonly bool Equals(D2D1Vector4F 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 D2D1Vector4F NativeReadFrom(nint buffer)
Parameters
| Type |
Name |
Description |
| nint |
buffer |
|
Returns
|
Edit this page
View Source
NativeReadFrom(nint, Span<D2D1Vector4F>)
Declaration
public static void NativeReadFrom(nint buffer, Span<D2D1Vector4F> 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 D2D1Vector4F)
Declaration
public static void NativeWriteTo(nint buffer, in D2D1Vector4F obj)
Parameters
|
Edit this page
View Source
NativeWriteTo(nint, ReadOnlySpan<D2D1Vector4F>)
Declaration
public static void NativeWriteTo(nint buffer, ReadOnlySpan<D2D1Vector4F> objects)
Parameters
Operators
|
Edit this page
View Source
operator ==(D2D1Vector4F, D2D1Vector4F)
Declaration
public static bool operator ==(D2D1Vector4F left, D2D1Vector4F right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D2D1Vector4F, D2D1Vector4F)
Declaration
public static bool operator !=(D2D1Vector4F left, D2D1Vector4F right)
Parameters
Returns
Implements