Matrix4x4.CreateWorld(Vector3, Vector3, Vector3) Method
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.
Creates a world matrix with the specified parameters.
public:
static System::Numerics::Matrix4x4 CreateWorld(System::Numerics::Vector3 position, System::Numerics::Vector3 forward, System::Numerics::Vector3 up);
C#
public static System.Numerics.Matrix4x4 CreateWorld(System.Numerics.Vector3 position, System.Numerics.Vector3 forward, System.Numerics.Vector3 up);
static member CreateWorld : System.Numerics.Vector3 * System.Numerics.Vector3 * System.Numerics.Vector3 -> System.Numerics.Matrix4x4
Public Shared Function CreateWorld (position As Vector3, forward As Vector3, up As Vector3) As Matrix4x4
- position
- Vector3
The position of the object.
- forward
- Vector3
The forward direction of the object.
- up
- Vector3
The upward direction of the object. Its value is usually [0, 1, 0]
.
The world matrix.
position
is used in translation operations.
Производ | Верзије |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 |
UWP | 10.0 |
Сарађујте са нама на GitHub-у
Извор овог садржаја можете пронаћи на платформи GitHub, где можете и да креирате и прегледате проблеме и захтеве за повлачењем. Више информација потражите у нашем водичу за сараднике.
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: