TransformExtensions.InverseTransformSize(Transform, Vector3) Method
Definition
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.
Transforms the size from world to local.
public:
[System::Runtime::CompilerServices::Extension]
static UnityEngine::Vector3 InverseTransformSize(UnityEngine::Transform ^ transform, UnityEngine::Vector3 worldSize);
public static UnityEngine.Vector3 InverseTransformSize (this UnityEngine.Transform transform, UnityEngine.Vector3 worldSize);
static member InverseTransformSize : UnityEngine.Transform * UnityEngine.Vector3 -> UnityEngine.Vector3
<Extension()>
Public Function InverseTransformSize (transform As Transform, worldSize As Vector3) As Vector3
Parameters
- transform
- UnityEngine.Transform
The transform.
- worldSize
- UnityEngine.Vector3
The world size
Returns
UnityEngine.Vector3
World size.