DeformerMddPlayer#
(Mdd Player)
- Default object name:
mdd_player
- Inherits from: ProjectItem > Deformer
No corresponding User page.
Description#
Applies a deformation (animation) read from a MDD file to the geometry.
Public Attributes#
Type | Name | Visual Hint | Description |
---|---|---|---|
string |
filename |
VISUAL_HINT_FILENAME_OPEN |
MDD file path. |
long |
data_mode |
VISUAL_HINT_DEFAULT |
|
long |
start_frame |
VISUAL_HINT_FRAME |
Offset the time. If you set the value to 50 while the animation starts at frame 10, it then starts at frame 60. |
long |
pre_behavior |
VISUAL_HINT_DEFAULT |
Behavior to apply before the beginning of the animation. Drop does nothing, Hold uses the first geometry, Repeat loops on the animation. |
long |
post_behavior |
VISUAL_HINT_DEFAULT |
Behavior to apply after the end of the animation. Drop does nothing, Hold keeps the last position, Repeat loops on the animation. |
CID#
class "DeformerMddPlayer" "Deformer" {
#version 0.9
icon "../icons/object_icons/deformer_mdd.iconrc"
doc "Applies a deformation (animation) read from a MDD file to the geometry."
filename_open "filename" {
doc "MDD file path."
extension "mdd"
value ""
}
long "data_mode" {
preset "Global" "0"
preset "Local" "1"
value 0
}
long "frame_count" {
doc "Count of frames available in the file"
private yes
saveable no
dg_active no
read_only yes
value -1
}
long "vertex_count" {
doc "Deformed geometry vertex count"
private yes
saveable no
dg_active no
read_only yes
value -1
}
frame "start_frame" {
doc "Offset the time. If you set the value to 50 while the animation starts at frame 10, it then starts at frame 60."
value 0
}
long "pre_behavior" {
doc "Behavior to apply before the beginning of the animation. Drop does nothing, Hold uses the first geometry, Repeat loops on the animation."
read_only yes
preset "Hold" "0"
value 0
}
long "post_behavior" {
doc "Behavior to apply after the end of the animation. Drop does nothing, Hold keeps the last position, Repeat loops on the animation."
read_only yes
preset "Hold" "0"
value 0
}
double "frame_rate" {
private yes
saveable no
value 0.0
}
double "eval_frame" {
private yes
saveable no
value -1
}
}