KeyFrame

Overview

KeyFrame is a class in Aspose.3D FOSS for Python.

KeyFrame.time represents the timestamp of the keyframe in seconds.

Properties

NameTypeAccessDescription
timefloatReadRepresents the timestamp of the keyframe in seconds
valuefloatReadHolds the scalar value associated with the keyframe
interpolationInterpolationReadSpecifies the interpolation mode used between keyframes
tangent_weight_modeWeightedModeReadDefines how tangent weights are applied to the keyframe
step_modeStepModeReadIndicates whether the keyframe uses step (constant) interpolation
next_in_tangent'Vector2'ReadProvides the incoming tangent vector for the following segment
out_tangent'Vector2'ReadProvides the outgoing tangent vector from this keyframe
out_weightfloatReadIs the weight applied to the outgoing tangent
next_in_weightfloatReadIs the weight applied to the incoming tangent of the next segment
tensionfloatReadControls the tightness of the spline at this keyframe
continuityfloatReadAdjusts the smoothness of the transition between segments
biasfloatReadShifts the spline curve toward or away from the keyframe
independent_tangentboolReadDetermines if tangents are independent of each other
flatboolReadForces the tangent to be flat (zero slope) at this keyframe
time_independent_tangentboolReadMakes the tangent unaffected by time scaling
_time``Read
_value``Read
_interpolation``Read
_tangent_weight_mode``Read
_step_mode``Read
_next_in_tangent``Read
_out_tangent``Read
_out_weight``Read
_next_in_weight``Read
_tension``Read
_continuity``Read
_bias``Read
_independent_tangent``Read
_flat``Read
_time_independent_tangent``Read

Methods

SignatureDescription
__init__(curve: 'KeyframeSequence', time: float)

See Also