Crocket::Track
Inherits Reference < Object
Constructors
new(sync_track : Pointer(Rocket::SyncTrack))
Creates a new instance of Crocket::Track.
This should not be called manually.
Instance methods
to_unsafe
to_unsafe returns the raw C pointer to this Rocket sync_track struct.
Useful for when you need to call the library functions directly.
For example:
device = Crocket::SyncDevice.new("sync")
track = device["camera:rot.y"]
p Crocket::Rocket.sync_find_key(track, 0)