FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.Demos.DemoCore.DemoBase Class Reference

Inherit from this class to create a demo canvas. More...

Inheritance diagram for FMAR.Demos.DemoCore.DemoBase:
FMAR.Demos.EMS.EMSDemo FMAR.Demos.Fire.FireDemo

Protected Member Functions

void SubscribeToAnchorButton (Button button, DraggableAnchor anchor)
 Shared logic that controls what happens when an "anchor" button is pressed, which is to move the anchor to the right hand's position and rotation, to be grabbed by the user and placed elsewhere.
 
void LerpCanvas ()
 Updates position/rotation of the demo canvas.
 

Protected Attributes

Transform menuTf
 

Detailed Description

Inherit from this class to create a demo canvas.

Member Function Documentation

◆ LerpCanvas()

void FMAR.Demos.DemoCore.DemoBase.LerpCanvas ( )
inlineprotected

Updates position/rotation of the demo canvas.

◆ SubscribeToAnchorButton()

void FMAR.Demos.DemoCore.DemoBase.SubscribeToAnchorButton ( Button button,
DraggableAnchor anchor )
inlineprotected

Shared logic that controls what happens when an "anchor" button is pressed, which is to move the anchor to the right hand's position and rotation, to be grabbed by the user and placed elsewhere.

Member Data Documentation

◆ menuTf

Transform FMAR.Demos.DemoCore.DemoBase.menuTf
protected

The documentation for this class was generated from the following file: