Skip to content
Keenan Woodall edited this page Apr 16, 2019 · 2 revisions

Deformer

Description

The base class for mesh deformation.

Constant Properties

Name Description Type
COMPILE_SYNCHRONOUSLY Every job used by a deformer that is compiled by Burst sets the attribute's "CompileSynchronously" property to this boolean. Change this if you want to change how all deformer jobs are compiled. bool
DEFAULT_BATCH_COUNT The default batch count you can use for deformer's jobs. It's really just here for people who don't know what the batch count means. int

Properties

Name Description Type
update When false the deformer will be ignored by Deformables. bool
RequiresUpdatedBounds Notifies the deformable that the deformer would like the mesh data to have updated bounds (bounds are not normally updated between deformers) bool
DataFlags Defines the type of mesh data the deformer will be changing. DataFlags

Public Methods

PreProcess Called before Process. Often used to initialize data.
Process Schedules a job to process the data which should depend on "dependency" and returns its handle.
CanProcess Returns true if "update" and "isActiveAndEnabled" is true.
Clone this wiki locally