Skip to content

Getting Values

Michael Wolf edited this page Feb 12, 2018 · 2 revisions
Number *num = (Number *)MyNumInput->GetSourceAttrs(time, nullptr, REQF_SecondaryTime,
REQF_SecondaryTime);
if (num)
{
  double value = num->GetValue<double>();
  // do your processing here with "value"
  num->Recycle(); // Always Recycle() anything you get from GetSource()!
}
Clone this wiki locally