Calculates the world matrix for the given transformation instance rendering. The object transformation. The output matrix.
(ref Transform transform, out Matrix world)
| 115 | /// <param name="transform">The object transformation.</param> |
| 116 | /// <param name="world">The output matrix.</param> |
| 117 | public void GetWorldMatrix(ref Transform transform, out Matrix world) |
| 118 | { |
| 119 | Float3 translation = transform.Translation - Origin; |
| 120 | Matrix.Transformation(ref transform.Scale, ref transform.Orientation, ref translation, out world); |
| 121 | } |
| 122 | } |
| 123 | } |
nothing calls this directly
no test coverage detected