Meta SDK2 Beta  2.7.0
Meta.Mouse.DragRotate Class Reference

Rotates an object using mouse click and drag. More...

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

Public Member Functions

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

Properties

MetaInteractionDataEvent PointerDown [get]
 inheritdoc /> More...
 
MetaInteractionDataEvent PointerUp [get]
 inheritdoc /> More...
 
Transform TargetTransform [get, set]
 
- 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

Rotates an object using mouse click and drag.

Member Function Documentation

◆ OnDrag()

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

◆ OnPointerDown()

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

Pointer button is down.

◆ OnPointerUp()

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

Pointer button is up.

Property Documentation

◆ PointerDown

MetaInteractionDataEvent Meta.Mouse.DragRotate.PointerDown
get

inheritdoc />

◆ PointerUp

MetaInteractionDataEvent Meta.Mouse.DragRotate.PointerUp
get

inheritdoc />

◆ TargetTransform

Transform Meta.Mouse.DragRotate.TargetTransform
getset