CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
CriAtomExBeatSync.Info Struct Reference

Beat synchronization position detection callback information More...

Public Attributes

IntPtr playerHn
 
uint playbackId
 
uint barCount
 
uint beatCount
 
float beatProgress
 
float bpm
 
int offset
 
uint numBeats
 
IntPtr labelPtr
 

Properties

string label [get]
 BeatSync Label More...
 

Detailed Description

Beat synchronization position detection callback information

Description:
A structure for getting information from the beat synchronization callback and beat synchronization information getting method.
See also
CriAtomExBeatSync::SetCallback, CriAtomExPlayback::GetBeatSyncInfo

Member Data Documentation

IntPtr playerHn

Player handle

uint playbackId

Playback ID

uint barCount

The number of Measures

uint beatCount

The current count of beats

float beatProgress

Beat progress (0.0f to 1.0f)

float bpm

Tempo (beats/minute)

int offset

Sync offset (ms)

uint numBeats

The number of beats

IntPtr labelPtr

Pointer to the BeatSync label information

Property Documentation

string label
get

BeatSync Label

Description:
This property represents the beat synchronization label.
Returns null if the label has not been set or if the corresponding Cue has finished playing.
Note:
Referencing this property causes an internal string allocation.
When playing a single Cue, certain types of label strings are based on the same labelPtr. If you want to refer to a label multiple times for purposes such as comparison, we recommend using labelPtr.

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