Murl::Resource::IAnimation::Raw::CubicBezierParameterSet Struct Reference

A set of cubic bezier parameters. More...

#include "murl_resource_i_animation.h"

Public Attributes

Float mStartWeight
 The start weight.
 
Float mStartDelta
 The start value delta.
 
Float mEndWeight
 The end weight.
 
Float mEndDelta
 The end value delta.
 

Detailed Description

A set of cubic bezier parameters.

Together with two successive FloatKey entries acting as the starting and ending point, this set of parameters defines a cubic bezier curve segment made up of four control points (t0,v0), (t1,v1), (t2,v2) and (t3,v3). With the start key's time stamp and value as (t0,v0) (first control point) and the end key's time stamp and value as (t3,v3) (fourth control point), the second control point is calculated as t1=t0+mStartWeight*(t3-t0) and v1=v0+mStartDelta, and the third one as t2=t3+mEndWeight*(t3-t0) and v2=v3+mEndDelta.


The documentation for this struct was generated from the following file:
  • murl_resource_i_animation.h


Copyright © 2011-2024 Spraylight GmbH.