# AnimVizOnionSkinning(bpy_struct)

base class — `bpy_struct`

class `bpy.types.``AnimVizOnionSkinning`(bpy_struct)

  Onion Skinning settings for animation visualization

  `frame_after`

    Number of frames to show after the current frame (only for ‘Around Current Frame’ Onion-skinning method)

    Type: | int in [0, 30], default 0

  `frame_before`

    Number of frames to show before the current frame (only for ‘Around Current Frame’ Onion-skinning method)

    Type: | int in [0, 30], default 0

  `frame_end`

    End frame of range of Ghosts to display (not for ‘Around Current Frame’ Onion-skinning method)

    Type: | int in [-inf, inf], default 0

  `frame_start`

    Starting frame of range of Ghosts to display (not for ‘Around Current Frame’ Onion-skinning method)

    Type: | int in [-inf, inf], default 0

  `frame_step`

    Number of frames between ghosts shown (not for ‘On Keyframes’ Onion-skinning method)

    Type: | int in [1, 20], default 0

  `show_only_selected`

    For Pose-Mode drawing, only draw ghosts for selected bones

    Type: | boolean, default False

  `type`

    Method used for determining what ghosts get drawn

    - `NONE` No Ghosts, Do not show any ghosts.
    - `CURRENT_FRAME` Around Current Frame, Show ghosts from around the current frame.
    - `RANGE` In Range, Show ghosts for the specified frame range.
    - `KEYS` On Keyframes, Show ghosts on keyframes.

    Type: | enum in [‘NONE’, ‘CURRENT_FRAME’, ‘RANGE’, ‘KEYS’], default ‘NONE’

Inherited Properties

`bpy_struct.id_data` |

Inherited Functions

`bpy_struct.as_pointer` `bpy_struct.driver_add` `bpy_struct.driver_remove` `bpy_struct.get` `bpy_struct.is_property_hidden` `bpy_struct.is_property_readonly` `bpy_struct.is_property_set` `bpy_struct.items` | `bpy_struct.keyframe_delete` `bpy_struct.keyframe_insert` `bpy_struct.keys` `bpy_struct.path_from_id` `bpy_struct.path_resolve` `bpy_struct.property_unset` `bpy_struct.type_recast` `bpy_struct.values`

References

`AnimViz.onion_skin_frames` |