Meta SDK2 Beta  2.7.0
Meta.Mouse.DragTranslate Class Reference

Handles positional translation of an object via pointer events. Left click to translate X and Y. Left click and scroll to translate Z. More...

Inheritance diagram for Meta.Mouse.DragTranslate:
Meta.Mouse.IPointerAction

Public Member Functions

void OnPointerDown (PointerEventData eventData)
 Pointer button is down. More...
 
void OnBeginDrag (PointerEventData eventData)
 
void OnDrag (PointerEventData eventData)
 
void OnPointerEnter (PointerEventData eventData)
 
void OnPointerExit (PointerEventData eventData)
 
void OnPointerUp (PointerEventData eventData)
 Pointer button is up. More...
 

Properties

Transform TargetTransform [get, set]
 inheritdoc /> More...
 
MetaInteractionDataEvent PointerDown [get]
 inheritdoc /> More...
 
MetaInteractionDataEvent PointerUp [get]
 
MetaInteractionDataEvent PointerEnter [get]
 Event called when a pointer enters. More...
 
MetaInteractionDataEvent PointerExit [get]
 Event called when a pointer exits. More...
 
- Properties inherited from Meta.Mouse.IPointerAction
Transform TargetTransform [get, set]
 Transform that is where the action is applied. More...
 
MetaInteractionDataEvent PointerDown [get]
 Event called when a pointer is held down. More...
 
MetaInteractionDataEvent PointerUp [get]
 Event called when a pointer is released from being held down. More...
 

Detailed Description

Handles positional translation of an object via pointer events. Left click to translate X and Y. Left click and scroll to translate Z.

Member Function Documentation

◆ OnBeginDrag()

void Meta.Mouse.DragTranslate.OnBeginDrag ( PointerEventData  eventData)
inline

◆ OnDrag()

void Meta.Mouse.DragTranslate.OnDrag ( PointerEventData  eventData)
inline

◆ OnPointerDown()

void Meta.Mouse.DragTranslate.OnPointerDown ( PointerEventData  eventData)
inline

Pointer button is down.

◆ OnPointerEnter()

void Meta.Mouse.DragTranslate.OnPointerEnter ( PointerEventData  eventData)
inline

◆ OnPointerExit()

void Meta.Mouse.DragTranslate.OnPointerExit ( PointerEventData  eventData)
inline

◆ OnPointerUp()

void Meta.Mouse.DragTranslate.OnPointerUp ( PointerEventData  eventData)
inline

Pointer button is up.

Property Documentation

◆ PointerDown

MetaInteractionDataEvent Meta.Mouse.DragTranslate.PointerDown
get

inheritdoc />

◆ PointerEnter

MetaInteractionDataEvent Meta.Mouse.DragTranslate.PointerEnter
get

Event called when a pointer enters.

◆ PointerExit

MetaInteractionDataEvent Meta.Mouse.DragTranslate.PointerExit
get

Event called when a pointer exits.

◆ PointerUp

MetaInteractionDataEvent Meta.Mouse.DragTranslate.PointerUp
get

◆ TargetTransform

Transform Meta.Mouse.DragTranslate.TargetTransform
getset

inheritdoc />