# Sandbox.ModelDeformer

Deforms an ancestor model using an ordered stack of masked operations before bone skinning.
Bones, collision, hitboxes and attachments are unaffected.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.Volumes.VolumeComponent](/api/Sandbox.Volumes.VolumeComponent)
- Modifiers: sealed

## Constructors

- [`ModelDeformer`](/api/Sandbox.ModelDeformer/.ctor): Creates a sphere volume with a broad, smooth falloff.

## Properties

- [`ApplyToBoneMergedChildren`](/api/Sandbox.ModelDeformer/ApplyToBoneMergedChildren): Apply this effect to bone-merged clothing and accessories attached to the same model.
- [`BoundedOperation`](/api/Sandbox.ModelDeformer/BoundedOperation): Operation with an editable edge transition; infinite shapes do not have an edge.
- [`Falloff`](/api/Sandbox.ModelDeformer/Falloff): Width of the smooth edge fade, relative to the shape's radius or smallest half-extent. Zero applies full strength inside the shape; one fades across the entire interior. Infinite shapes always apply full strength and do not use falloff.
- [`Inflation`](/api/Sandbox.ModelDeformer/Inflation): Signed inflation: negative values contract, zero leaves the model unchanged, and positive values expand. The shape boundary limits displacement; capsules expand or contract around their axis.
- [`InflationSoftness`](/api/Sandbox.ModelDeformer/InflationSoftness): How gradually inflation fades near the shape's edge. Zero keeps inflation broad; one softens it across the whole shape, concentrating the effect toward the center.
- [`NormalMode`](/api/Sandbox.ModelDeformer/NormalMode): Accurate follows the local deformation; Smooth softens its shading over a neighbourhood. Preserve moves vertices without correcting their shading. No mode changes the displacement itself.
- [`NormalSmoothingRadius`](/api/Sandbox.ModelDeformer/NormalSmoothingRadius): Distance over which surface shading is smoothed, in local units. Larger values soften more detail without changing the shape of the mesh.
- [`Operation`](/api/Sandbox.ModelDeformer/Operation): Operation applied inside the shape. Hover a button for its name and description.
- [`Priority`](/api/Sandbox.ModelDeformer/Priority): Lower priorities deform the model first; higher priorities operate on their result. Use distinct priorities when the order of effects matters.
- [`PullFocus`](/api/Sandbox.ModelDeformer/PullFocus): How strongly the pull is concentrated near the center. Zero pulls the entire interior equally; one gradually weakens the pull from the center toward the edge, leaving the rim in place.
- [`RotationOffset`](/api/Sandbox.ModelDeformer/RotationOffset): Rotation around the shape center, applied after scale and before translation.
- [`ScaleFactor`](/api/Sandbox.ModelDeformer/ScaleFactor): Scale on each local axis around the shape center.
- [`SceneVolume`](/api/Sandbox.ModelDeformer/SceneVolume): Choose the affected area, then move or resize it in the scene. Infinite affects the whole model. Vertices affected by a finite shape stay inside its boundary.
- [`StretchRatio`](/api/Sandbox.ModelDeformer/StretchRatio): Local Z scale. One is unchanged; below one squashes and above one stretches. X/Y compensate to preserve volume before Value and the shape's falloff are applied. At zero the height is flat; width compensation is capped at ten near zero to stay finite.
- [`StretchTransition`](/api/Sandbox.ModelDeformer/StretchTransition): Width of the transition between the squashed or stretched area and the surrounding mesh. Zero gives an abrupt boundary; one spreads the transition across the whole shape.
- [`Target`](/api/Sandbox.ModelDeformer/Target): Ancestor renderer receiving this volume.
- [`TransformBlend`](/api/Sandbox.ModelDeformer/TransformBlend): How much of the shape blends the transform into the surrounding mesh. Zero transforms the entire interior equally; one blends from the center to the edge.
- [`Translation`](/api/Sandbox.ModelDeformer/Translation): Position offset in the shape's local axes.
- [`Weight`](/api/Sandbox.ModelDeformer/Weight): Blend from the original shape at zero to the full effect at one. Negative values reverse the displacement; values above one amplify it.
