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