Vector.AsVector4Unsafe Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AsVector4Unsafe(Vector2) |
Reinterprets a Vector2 to a new Vector4 with the new elements undefined. |
AsVector4Unsafe(Vector3) |
Converts a Vector3 to a new Vector4 with the new elements undefined. |
AsVector4Unsafe(Vector2)
public:
[System::Runtime::CompilerServices::Extension]
static System::Numerics::Vector4 AsVector4Unsafe(System::Numerics::Vector2 value);
public static System.Numerics.Vector4 AsVector4Unsafe (this System.Numerics.Vector2 value);
static member AsVector4Unsafe : System.Numerics.Vector2 -> System.Numerics.Vector4
<Extension()>
Public Function AsVector4Unsafe (value As Vector2) As Vector4
Parameters
- value
- Vector2
The vector to reinterpret.
Returns
value
reinterpreted to a new Vector4 with the new elements undefined.
Applies to
AsVector4Unsafe(Vector3)
public:
[System::Runtime::CompilerServices::Extension]
static System::Numerics::Vector4 AsVector4Unsafe(System::Numerics::Vector3 value);
public static System.Numerics.Vector4 AsVector4Unsafe (this System.Numerics.Vector3 value);
static member AsVector4Unsafe : System.Numerics.Vector3 -> System.Numerics.Vector4
<Extension()>
Public Function AsVector4Unsafe (value As Vector3) As Vector4
Parameters
- value
- Vector3
The vector to convert.
Returns
value
converted to a new Vector4 with the new elements undefined.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.