Blender V4.5
InteractivePlaceData::[struct].step Struct Reference

Public Attributes

bool is_centered
bool is_centered_init
bool is_fixed_aspect
bool is_fixed_aspect_init
float plane [4]
float co_dst [3]
bool is_degenerate_view_align
float degenerate_diagonal [3]
float degenerate_diagonal_display [3]
int degenerate_axis

Detailed Description

Primary & secondary steps.

Definition at line 91 of file view3d_placement.cc.

Member Data Documentation

◆ co_dst

◆ degenerate_axis

Index into matrix_orient which is degenerate.

◆ degenerate_diagonal

When view aligned, use a diagonal offset (cavalier projection) to give user feedback about the depth being set.

Currently this is only used for orthogonal views since perspective views nearly always show some depth, even when view aligned.

  • Drag to the bottom-left to move away from the view.
  • Drag to the top-right to move towards the view.

◆ degenerate_diagonal_display

Corrected for display, so what's shown on-screen doesn't loop to be reversed in relation to cursor-motion.

◆ is_centered

When centered, drag out the shape from the center. Toggling the setting flips the value from its initial state.

◆ is_centered_init

bool InteractivePlaceData::[struct].step is_centered_init

◆ is_degenerate_view_align

bool InteractivePlaceData::[struct].step is_degenerate_view_align

We can't project the mouse cursor onto plane, in this case view3d_win_to_3d_on_plane_maybe_fallback is used.

  • For STEP_BASE we're drawing from the side, where the X/Y axis can't be projected.
  • For STEP_DEPTH we're drawing from the top (2D), where the depth can't be projected.

◆ is_fixed_aspect

When fixed, constrain the X/Y aspect for the initial STEP_BASE drag. For STEP_DEPTH match the maximum X/Y dimension. Toggling the setting flips the value from its initial state.

◆ is_fixed_aspect_init

bool InteractivePlaceData::[struct].step is_fixed_aspect_init

◆ plane


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