Skip to content

Commit

Permalink
TransformControls: Add scaleSnap (#1336)
Browse files Browse the repository at this point in the history
  • Loading branch information
noname0310 authored Nov 6, 2024
1 parent 4e65863 commit 8165a4c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions types/three/examples/jsm/controls/TransformControls.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ declare class TransformControls extends Controls<TransformControlsEventMap> {
*/
rotationSnap: number | null;

/**
* By default, 3D objects are continuously scaled. If you set this property to a numeric value, you can define in
* which steps the 3D object should be scaled. Default is `null`.
*/
scaleSnap: number | null;

/**
* Defines in which coordinate space transformations should be performed. Possible values are "world" and "local".
* Default is `world`.
Expand Down

0 comments on commit 8165a4c

Please sign in to comment.