Get RAPTOR

RaptorBlockModifierData

Base class for a modifier's per-Block settings, stored in RaptorMesh.Modifiers.

NamespaceAssemblyKindStability
Raptor.ComponentsRaptor.Componentsclasspreview, since 0.1.0

RAPTOR owns the slot. Each modifier module owns its data type and reads and writes it through RaptorMesh.GetModifier{T} and RaptorMesh.GetOrAddModifier{T}.

Data types are serialized by reference ([SerializeReference]), so their assembly, namespace and class name are saved in scene and prefab files and must stay stable. A data type that moves or is renamed needs [UnityEngine.Scripting.APIUpdating.MovedFrom(true, ns, asm, class)]. If a type is missing because its module was removed, its entry loads as null and Unity keeps the saved data.

RAPTOR does not read this data or mix it into a hash. A modifier that changes the build mixes its settings into the hash in IRaptorBlockModifier.MixBakeHash.

public abstract class RaptorBlockModifierData