Vector3f Structure
From SFML.Net
SFML.Net
| Vector3f Structure |
Vector3f is an utility class for manipulating 3 dimensional
vectors with float components
Namespace: SFML.System
Assembly: sfmlnet-system-2 (in sfmlnet-system-2.dll) Version: 2.2.0.0 (2.2.0)
The Vector3f type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals(Object) |
Compare vector and object and checks if they are equal
(Overrides ValueTypeEquals(Object).) | |
| Equals(Vector3f) |
Compare two vectors and checks if they are equal
| |
| GetHashCode |
Provide a integer describing the object
(Overrides ValueTypeGetHashCode.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| ToString |
Provide a string describing the object
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Addition |
Operator + overload ; add two vectors
| |
| Division |
Operator / overload ; divide a vector by a scalar value
| |
| Equality |
Operator == overload ; check vector equality
| |
| Inequality |
Operator != overload ; check vector inequality
| |
| Multiply(Single, Vector3f) |
Operator * overload ; multiply a scalar value by a vector
| |
| Multiply(Vector3f, Single) |
Operator * overload ; multiply a vector by a scalar value
| |
| Subtraction |
Operator - overload ; subtracts two vectors
| |
| UnaryNegation |
Operator - overload ; returns the opposite of a vector
|
| Name | Description | |
|---|---|---|
| X | X (horizontal) component of the vector | |
| Y | Y (vertical) component of the vector | |
| Z | Z (depth) component of the vector |