Materials and hotspots
Material packs, the Materials drawer, hotspot sheets, special materials and shaders.
Start with IRaptorPackProvider to add material packs from code, and RaptorHotspotApi for hotspot fits.
RaptorLibraryThe material library behind the Materials drawer: provider rows, then user rows from the project settings.ScopeA scratch library opened by RaptorLibrary.Scratch.RaptorPackEntryOne row of the material library: a folder of materials shown as a pack in the Materials drawer.IRaptorPackProviderAdds packs to the material library from code.RaptorPackLayoutHow a pack folder is read into the material library.RaptorMaterialsDrawerExtension points for the Materials drawer.IRaptorDockExtensionA per-drawer extension of the Materials drawer (RaptorMaterialsDrawer.RegisterExtension).IRaptorMaterialsDockThe Materials drawer instance that hosts an extension, one per open drawer or dock.RaptorMaterialTileA Materials drawer tile as passed to an extension (IRaptorDockExtension).RaptorHotspotApiHotspot queries and edits for modules, without the Hotspot internals.RaptorHotspotAtlasAuthoring data for a hotspot sheet: a trim or panel material and its patches.RaptorHotspotLocksBlock hotspot locks (Hotspot v2) for code that builds a derived copy of a Block's mesh.RaptorHotspotLockStateA face's hotspot lock as a value that can be copied to another face, read with RaptorHotspotLocks.TryGet and written with RaptorHotspotLocks.Set.RaptorHotspotPatchRoutesRoutes for the Face panel's Patches button and its Edit sheet chip.RaptorPatchContextThe RAPTOR window, hotspot sheet and patch passed to a Patches route (RaptorHotspotPatchRoutes).RaptorSpecialMaterialsThe Special tool materials: Skybox, Skybox (Pass-through), NoDraw and Block Light.RaptorShaderProfileChooses the shaders for RAPTOR's generated materials.RaptorShaderSlotThe shader slots RAPTOR generates materials for.RaptorShaderSourceHow RaptorShaderProfile found a slot's shader.RaptorShaderResolutionOne slot's resolved shader and where it came from.