Modifier

Partager via


ProximityEffect.UpdateScaling(Vector3, Vector3) Method

Definition

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

Applies to