# FloatKeyframe

struct `FloatKeyframe`

  Public Functions

  `FloatKeyframe`(uint32_t in_ticks, float in_value)

    Creates a new FloatKeyframe, suitable for using with a FloatSampler object. The correspondence between real time and ticks can be controlled through AnimationControl::SetTimePerTick

    Parameters: | in_ticks – The time, specified in ticks, when this keyframe should be executed. in_value – The value of this keyframe at the specified time.

  bool `operator!=`(FloatKeyframe const &in_that) const

    Check if the source FloatKeyframe is different from this FloatKeyframe.

    Parameters: | in_that – The source FloatKeyframe to compare to this FloatKeyframe.
    Returns: | true if the objects are different, false otherwise.

  bool `operator==`(FloatKeyframe const &in_that) const

    Check if the source FloatKeyframe is equal to this FloatKeyframe.

    Parameters: | in_that – The source FloatKeyframe to compare to this FloatKeyframe.
    Returns: | true if the objects are equal, false otherwise.

  Public Members

  uint32_t `time_in_ticks`
  float `value`

Hello I'm HOOPSY!

HOOPSY BETA

Hello I am HOOPSY! your Docs generative AI assistant.

Ask me anything about HOOPS Visualize HPS or choose a sample question below to start a conversation:

Additional info

HOOPSY may store chats to provide and maintain the service according to OpenAI's data policy.

This feature is currently experimental. While we are continually enhancing its performance and quality, the underlying AI model may generate inaccurate or fabricated responses, especially if prompted to do so.

New Conversation
Continue generating