worldToLocalMatrix
Matrix that transforms a point from world space into local space (Read Only).
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Matrix4x4 worldToLocalMatrix { get; }
Remarks
You can also use TransformHandle.InverseTransformPoint to transform coordinates instead of this matrix.
Do not use this matrix to set shader parameters or to perform calculations related to rendering. Use Renderer.worldToLocalMatrix instead.