Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
AsVector4(Plane) | |
AsVector4(Quaternion) |
Reinterprets a Quaternion as a new Vector4. |
AsVector4(Vector2) |
Reinterprets a Vector2 to a new Vector4 with the new elements zeroed. |
AsVector4(Vector3) |
Converts a Vector3 to a new Vector4 with the new elements zeroed. |
public:
[System::Runtime::CompilerServices::Extension]
static System::Numerics::Vector4 AsVector4(System::Numerics::Plane value);
public static System.Numerics.Vector4 AsVector4(this System.Numerics.Plane value);
static member AsVector4 : System.Numerics.Plane -> System.Numerics.Vector4
<Extension()>
Public Function AsVector4 (value As Plane) As Vector4
The plane to reinterpret.
value
reinterpreted as a new Vector4.
Product | Versions |
---|---|
.NET | 9, 10 |
Reinterprets a Quaternion as a new Vector4.
public:
[System::Runtime::CompilerServices::Extension]
static System::Numerics::Vector4 AsVector4(System::Numerics::Quaternion value);
public static System.Numerics.Vector4 AsVector4(this System.Numerics.Quaternion value);
static member AsVector4 : System.Numerics.Quaternion -> System.Numerics.Vector4
<Extension()>
Public Function AsVector4 (value As Quaternion) As Vector4
The quaternion to reinterpret.
value
reinterpreted as a new Quaternion.
Product | Versions |
---|---|
.NET | 9, 10 |
public:
[System::Runtime::CompilerServices::Extension]
static System::Numerics::Vector4 AsVector4(System::Numerics::Vector2 value);
public static System.Numerics.Vector4 AsVector4(this System.Numerics.Vector2 value);
static member AsVector4 : System.Numerics.Vector2 -> System.Numerics.Vector4
<Extension()>
Public Function AsVector4 (value As Vector2) As Vector4
The vector to reinterpret.
value
reinterpreted to a new Vector4 with the new elements zeroed.
Product | Versions |
---|---|
.NET | 9, 10 |
public:
[System::Runtime::CompilerServices::Extension]
static System::Numerics::Vector4 AsVector4(System::Numerics::Vector3 value);
public static System.Numerics.Vector4 AsVector4(this System.Numerics.Vector3 value);
static member AsVector4 : System.Numerics.Vector3 -> System.Numerics.Vector4
<Extension()>
Public Function AsVector4 (value As Vector3) As Vector4
The vector to convert.
value
converted to a new Vector4 with the new elements zeroed.
Product | Versions |
---|---|
.NET | 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in