Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of XMFLOAT3 from three float arguments.
This constructor initializes a new instance of XMFLOAT3 from a three float arguments.
Syntax
void XMFLOAT3(
float _x,
float _y,
float _z
) noexcept;
Parameters
_x
Value to be stored in the x-component (the x member) of the new instance of
XMFLOAT3.
_y
Value to be stored in the y-component (the y member) of the new instance of
XMFLOAT3.
_z
Value to be stored in the z-component (the z member) of the new instance of
XMFLOAT3.
Return value
None
Remarks
The following pseudocode demonstrates the operation of this constructor:
XMFLOAT3 instance;
instance.x = _x;
instance.y = _y;
instance.z = _z;
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | directxmath.h |
See also
Reference