ProximityEffect.UpdateScaling(Vector3, 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.
Updates proximity effect and its registered objects. Highlights and scales objects in proximity according to the pointer distance
public:
void UpdateScaling(UnityEngine::Vector3 boundsCenter, UnityEngine::Vector3 boundsExtents);
public void UpdateScaling (UnityEngine.Vector3 boundsCenter, UnityEngine.Vector3 boundsExtents);
member this.UpdateScaling : UnityEngine.Vector3 * UnityEngine.Vector3 -> unit
Public Sub UpdateScaling (boundsCenter As Vector3, boundsExtents As Vector3)
Parameters
- boundsCenter
- UnityEngine.Vector3
gameobject position the proximity effect is attached to
- boundsExtents
- UnityEngine.Vector3
extents of the gameobject the proximity effect is attached to