Animation
- class Animation
-
- property name
The name of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property type
The animation type.
- Type
TimelineTrackType, read-only
AnimationCurve
- class AnimationCurve
-
- property color
The color of the animation curve.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property key_frame_data
The data of the curve in json.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- list_key_frames()
Returns the list of
AnimationKeyFrame
.- Returns
The list of
AnimationKeyFrame
.- Return type
- key_frame_from_id(id)
Returns a
AnimationKeyFrame
with the id.- Parameters
id (str) -- Id of the key frame.
- Returns
The
AnimationKeyFrame
with the given id.- Return type
- insert_key_frame(time, value)
Add a
AnimationKeyFrame
to the curve at the given time with the given value.- Parameters
- Returns
The newly inserted
AnimationKeyFrame
.- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- remove_key_frame(id)
Remove the
AnimationKeyFrame
with the given id.- Parameters
id (str) -- The id of the key frame to be removed.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- remove()
Delete this curve.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
AnimationEasingType
AnimationKeyFrame
- class AnimationKeyFrame
-
- property value
The value of the key frame.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property time
The time of the key frame in seconds.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property right_tangent_type
The right tangent type.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property left_tangent_type
The left tangent type.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property right_tangent_value
The right tangent value.
- Type
Vector2
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property left_tangent_value
The left tangent value.
- Type
Vector2
- Raises
ReadOnlyError -- If
Database
is in read only mode.
CameraAnimation
- class CameraAnimation
Base class:
Animation
- property name
The name of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property type
The animation type.
- Type
TimelineTrackType, read-only
- remove()
Delete the camera animation.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
CameraBezierPathAnimation
- class CameraBezierPathAnimation
Base class:
CameraAnimation
- property duration
The duration of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property position_type
The position type of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property bezier_path_used_for_position
The Bezier path used for position.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property position_bezier_path_inverted
Whether the Bezier path used for position is inverted.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property position_null
The null used for position.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property position_fixed_from
The fixed position camera origin.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property position_fixed_to
The fixed position camera target.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property target_type
The target type of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property bezier_path_used_for_target
The Bezier path used for target.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property target_bezier_path_inverted
Whether the Bezier path used for target is inverted.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property target_null
The null used for target.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property target_fixed_direction
The fixed direction for the target.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property target_fixed_direction_up
The fixed direction up vector for the target.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property target_fixed
The fixed position for target.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- remove()
Delete the camera animation.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- duplicate()
Duplicate this camera Bezier path animation.
- Returns
The duplicated camera Bezier path animation.
- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
CameraBezierPathAnimationPositionType
CameraBezierPathAnimationTargetType
CameraBookmark
- class CameraBookmark
-
- property enabled
Whether the camera bookmark is included in the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property name
The name of the camera bookmark.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property index
The index of the camera bookmark in the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property sleep
The duration of the pause of the bookmarked image (in seconds).
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property duration
The duration of the animated transition to the next bookmark (in seconds).
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property smoothness
The fluidity of the camera behavior.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property path_type
The type of camera path.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property turn_duration
The percentage of the step dedicated to the rotation (in percentage).
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property turn_count
The number of 360-degree turns to carry out.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- duplicate()
Duplicate this camera bookmark.
- Returns
The duplicated camera bookmark.
- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- remove()
Delete a camera bookmark.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
CameraBookmarkAnimation
- class CameraBookmarkAnimation
Base class:
CameraAnimation
- property sleep_add_constant
The constant to add to each camera bookmark sleep value (in seconds).
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property sleep_factor
The factor to multiply each camera bookmark sleep value.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property duration_add_constant
The constant to add to each camera bookmark duration value (in seconds).
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property duration_factor
The factor to multiply each camera bookmark duration value.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property closed_path
Animate the transition between the last and the first bookmarks when the animation playback is looped.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- remove()
Delete the camera animation.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- list_camera_bookmarks()
List all the camera bookmarks in the animation.
- Returns
The list of camera bookmarks in the animation.
- Return type
- find_camera_bookmark_in_animation(id)
Find camera bookmark in the animation using
id
.- Parameters
id (str) -- Id of the camera bookmark to find.
- Returns
The camera bookmark found.
- Return type
- add_new_camera_bookmark_to_animation(name)
Add a camera bookmark to the animation.
- Parameters
name (str) -- Name for the new camera bookmark.
- Returns
The newly added camera bookmark.
- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- remove_camera_bookmark_from_animation(bookmark)
Camera bookmark to remove from the animation.
- Parameters
bookmark (CameraBookmark) -- Camera bookmark to remove.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- add_camera_from_camera_group_to_animation(group)
Add a camera bookmark to the animation.
- Parameters
group (CameraGroup) -- Camera group containing camera to add to the animation.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- duplicate()
Duplicate this camera bookmark animation.
- Returns
The duplicated camera bookmark animation.
- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
CameraBookmarkPathType
ChannelsAnimation
- class ChannelsAnimation
Base class:
Animation
- property name
The name of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property type
The animation type.
- Type
TimelineTrackType, read-only
- list_available_channels(object)
List all channels that can be animated for the
SceneObject
Note
only
SceneObject
of typeAxis
,Null
andVector
can be animated, object of other types will return an empty list.- Parameters
object (SceneObject) -- Object for which the list of channels that can animated will be returned.
- Returns
The list all paths to channels that can animated for the
object
.- Return type
- remove()
Delete the channels animation.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
ChannelsCurveAnimation
- class ChannelsCurveAnimation
Base class:
ChannelsAnimation
- property duration
The duration of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- list_available_channels(object)
List all channels that can be animated for the
SceneObject
Note
only
SceneObject
of typeAxis
,Null
andVector
can be animated, object of other types will return an empty list.- Parameters
object (SceneObject) -- Object for which the list of channels that can animated will be returned.
- Returns
The list all paths to channels that can animated for the
object
.- Return type
- remove()
Delete the channels animation.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- list_curves()
Returns the list of curves for this animation.
- Returns
The list of
Curve
contained in this animation.- Return type
- add_axis_channel_animation(object)
Add a
Axis
animation of thechannel
.- Parameters
object (Axis) -- Axis object to animate.
- Returns
The created
Curve
for this channel animation.- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- add_null_channel_animation(object, channel)
Add a
Null
animation of thechannel
.- Parameters
- Returns
The created
Curve
for this channel animation.- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- add_vector_channel_animation(object)
Add a
Vector
animation of thechannel
.- Parameters
object (Vector) -- Vector object to animate.
- Returns
The created
Curve
for this channel animation.- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- duplicate()
Duplicate this channels animation.
- Returns
The duplicated channels animation.
- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
ChannelsSimpleAnimation
- class ChannelsSimpleAnimation
Base class:
ChannelsAnimation
- property duration
The duration of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property initial_value
The initial value of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property final_value
The final value of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property easing
The easing of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- list_available_channels(object)
List all channels that can be animated for the
SceneObject
Note
only
SceneObject
of typeAxis
,Null
andVector
can be animated, object of other types will return an empty list.- Parameters
object (SceneObject) -- Object for which the list of channels that can animated will be returned.
- Returns
The list all paths to channels that can animated for the
object
.- Return type
- remove()
Delete the channels animation.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- set_axis_channel_animation(object, start, end)
Set a
Axis
animation of thechannel
.- Parameters
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- set_vector_channel_animation(object, start, end)
Set a
Vector
animation of thechannel
.- Parameters
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- duplicate()
Duplicate this channels animation.
- Returns
The duplicated channels animation.
- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
ConfigurationKeyAnimation
- class ConfigurationKeyAnimation
Base class:
Animation
- property name
The name of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property type
The animation type.
- Type
TimelineTrackType, read-only
- list_symbols()
List of symbols defined for this configuration key animation.
- list_values()
List of values defined for this configuration key animation, if the parameter is a check box there is no available values.
- set_configuration_symbol(label, value)
Set
value
for thesymbol
for this animation.- Parameters
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- set_check_box_configuration_symbol(label, value)
Set
value
for thesymbol
for this animation.- Parameters
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- keep_previous_value(label)
Keep previous value for the symbol with the label
label
for this animation.- Parameters
label (str) -- The label of the symbol to be modified in the animation.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- initialize_from_configuration_preset(preset)
Initialize the configuration for this animation using the
preset
.- Parameters
preset (ConfigurationPreset) -- The configuration preset from which the animation configuration will be initialized.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- duplicate()
Duplicate this configuration key animation.
- Returns
The duplicated configuration key animation.
- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- remove()
Delete the configuration key animation.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
KeyFrameTangentType
ProductKeyAnimation
- class ProductKeyAnimation
Base class:
Animation
- property name
The name of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property type
The animation type.
- Type
TimelineTrackType, read-only
SurfaceBakedAnimation
- class SurfaceBakedAnimation
Base class:
ChannelsAnimation
- list_available_channels(object)
List all channels that can be animated for the
SceneObject
Note
only
SceneObject
of typeAxis
,Null
andVector
can be animated, object of other types will return an empty list.- Parameters
object (SceneObject) -- Object for which the list of channels that can animated will be returned.
- Returns
The list all paths to channels that can animated for the
object
.- Return type
- remove()
Delete the channels animation.
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- duplicate()
Duplicate this channels animation.
- Returns
The duplicated channels animation.
- Return type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
TextureAnimation
- class TextureAnimation
Base class:
Animation
- property name
The name of the animation.
- Type
- Raises
ReadOnlyError -- If
Database
is in read only mode.
- property type
The animation type.
- Type
TimelineTrackType, read-only