DINO-Unity21
Sample Unity 2021 Project for HL2-DINO
Loading...
Searching...
No Matches
ToolTrackingUtils.TrackedTool Class Reference

Struct universally used through the HL-DINO-Unity app to define a 'trackable' tool. More...

Public Attributes

int ToolID
 Numeric ID which is passed into the HL2-DINO-DLL. This is cast into a uint8 on the C++ side.
 
string ToolName
 String identifier, purely for labelling in the Unity Editor.
 
List< Vector3 > ToolMarkerTriplets
 XYZ triplets of marker-centres in metres (left-handed for Unity)
 
Transform ToolUnityTransform
 Unity transform corresponding to the tool that we will position.
 
Matrix4x4 Tool_HoloFrame_LH
 Transform matrix of tool pose, left-handed and in metres.
 
bool VisibleToHoloLens
 Flag bool indicating if the HL2 can see the tool in the last set of sensor frames.
 
float TimestampLastSeen
 Timestamp updated on the Unity side to track how long a tool has been visible for.
 

Detailed Description

Struct universally used through the HL-DINO-Unity app to define a 'trackable' tool.


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