|
FAST SDK Coding Reference 1.0.5
|
A predefined tool for a tangible object. More...
Public Attributes | |
| MarkerData[] | objectMarkers = new MarkerData[1] |
| Inspector, Code The tracking data for the markers used by this tangible object. | |
| int | value |
| Inspector, Code Identifies this tangible object. | |
Public Attributes inherited from MarkerTool | |
| bool | isTracked |
| Runtime Returns true when enough of the markers that compose the tool are tracked for the tool to function. | |
| int[] | markerIds |
| Inspector, Code The IDs of the markers to use for this tool. | |
Private Attributes | |
| TMP_Text[] | objectIdText = new TMP_Text[1] |
| Inspector UI TMP_Text to label the IDs of the markers used by this tangible object. | |
| RectTransform | objectLabelsTransform |
| Inspector The parent UI RectTransform that contains the label text for this tangible object. | |
| TMP_Text | objectNameText |
| Inspector UI TMP_Text to label the name of this tangible object based on the name of the GameObject this script is attached to. | |
| Image[] | objectPointImages = new Image[1] |
| Inspector UI Images to visualize the position of markers used by this tangible object. | |
Additional Inherited Members | |
Public Member Functions inherited from MarkerTool | |
| void | OnToggleUI () |
| Toggles the visualization of this tool on/off. | |
Protected Member Functions inherited from MarkerTool | |
| void | DrawTool () |
| Override this function to implement the visualization of this tool. | |
Protected Attributes inherited from MarkerTool | |
| CanvasGroup | canvasGroup |
| Inspector The CanvasGroup to control the visualization of this tool. | |
| bool | isDrawTool |
| Inspector Set to true if the tool should be visualized. | |
| MarkerTrackingSystem | trackingSystem |
| Inspector The FAST.MarkerTrackingSystem providing the marker data for this tool. | |
A predefined tool for a tangible object.
A tangible object is a physical object that uses 1 or more markers to track the object's position and rotation.
Use the Marker Object Prefab to instantiate this tool with default attributes and assignments for 1 marker.
|
private |
Inspector
UI TMP_Text to label the IDs of the markers used by this tangible object.
This will already be assigned if you use the Marker Object Prefab.
|
private |
Inspector
The parent UI RectTransform that contains the label text for this tangible object.
This will already be assigned if you use the Marker Object Prefab.
| MarkerData [] objectMarkers = new MarkerData[1] |
Inspector, Code
The tracking data for the markers used by this tangible object.
|
private |
Inspector
UI TMP_Text to label the name of this tangible object based on the name of the GameObject this script is attached to.
This will already be assigned if you use the Marker Object Prefab.
|
private |
Inspector
UI Images to visualize the position of markers used by this tangible object.
This will already be assigned if you use the Marker Object Prefab.
| int value |
Inspector, Code
Identifies this tangible object.