Blender V4.3
ClipViewLockState Struct Reference

#include <ED_clip.hh>

Public Attributes

float offset_x
 
float offset_y
 
float lock_offset_x
 
float lock_offset_y
 
float zoom
 

Detailed Description

Locked state is used to preserve current clip editor viewport upon changes. Example usage:

...
ClipViewLockState lock_state;
<change selection>
void ED_clip_view_lock_state_restore_no_jump(const bContext *C, const ClipViewLockState *state)
void ED_clip_view_lock_state_store(const bContext *C, ClipViewLockState *state)

These function are to be used from space clip editor context only. Otherwise debug builds will assert, release builds will crash.

Definition at line 166 of file ED_clip.hh.

Member Data Documentation

◆ lock_offset_x

float ClipViewLockState::lock_offset_x

Definition at line 168 of file ED_clip.hh.

◆ lock_offset_y

float ClipViewLockState::lock_offset_y

Definition at line 168 of file ED_clip.hh.

◆ offset_x

float ClipViewLockState::offset_x

Definition at line 167 of file ED_clip.hh.

◆ offset_y

float ClipViewLockState::offset_y

Definition at line 167 of file ED_clip.hh.

◆ zoom

float ClipViewLockState::zoom

Definition at line 169 of file ED_clip.hh.


The documentation for this struct was generated from the following file: