API reference
API reference
Select your platform
No SDKs available
No versions available

PokeInteractable Class

Makes an object pokable.

Properties

ISurfacePatch SurfacePatch[Get]
float EnterHoverNormal[Get]
float EnterHoverTangent[Get]
float ExitHoverNormal[Get]
float ExitHoverTangent[Get]
float CancelSelectNormal[Get]
float CancelSelectTangent[Get]
float CloseDistanceThreshold[Get]
int TiebreakerScore[Get]
MinThresholdsConfig MinThresholds[Get]
DragThresholdsConfig DragThresholds[Get]
PositionPinningConfig PositionPinning[Get]
RecoilAssistConfig RecoilAssist[Get]

Protected Functions

override void Awake ( )
override void Start ( )

Member Functions

bool ClosestSurfacePatchHit
( Vector3 point,
out SurfaceHit hit )
bool ClosestBackingSurfaceHit
( Vector3 point,
out SurfaceHit hit )
Sets all the required values for a Poke Interactable on a dynamically instantiated GameObject.
Sets a surface patch for a dynamically instantiated GameObject.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon