Struct D2D1Vector3F
A vector of 3 FLOAT values (x, y, z).
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
public struct D2D1Vector3F : IEquatable<D2D1Vector3F>
Constructors
| Edit this page View SourceD2D1Vector3F(float, float, float)
Initializes a new instance of the D2D1Vector3F struct.
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 SourceX
Gets or sets the x value of the vector.
Declaration
public float X { get; set; }
Property Value
Type | Description |
---|---|
float |
Y
Gets or sets the y value of the vector.
Declaration
public float Y { get; set; }
Property Value
Type | Description |
---|---|
float |
Z
Gets or sets the z value of the vector.
Declaration
public float Z { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
| Edit this page View SourceEquals(D2D1Vector3F)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(D2D1Vector3F other)
Parameters
Type | Name | Description |
---|---|---|
D2D1Vector3F | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
Operators
| Edit this page View Sourceoperator ==(D2D1Vector3F, D2D1Vector3F)
Compares two D2D1Vector3F objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(D2D1Vector3F left, D2D1Vector3F right)
Parameters
Type | Name | Description |
---|---|---|
D2D1Vector3F | left | The left D2D1Vector3F to compare. |
D2D1Vector3F | right | The right D2D1Vector3F to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(D2D1Vector3F, D2D1Vector3F)
Compares two D2D1Vector3F objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(D2D1Vector3F left, D2D1Vector3F right)
Parameters
Type | Name | Description |
---|---|---|
D2D1Vector3F | left | The left D2D1Vector3F to compare. |
D2D1Vector3F | right | The right D2D1Vector3F to compare. |
Returns
Type | Description |
---|---|
bool |