public sealed class WaterModuleDoc 35's toolset, registering itself through the door a third party comes through.
Remarks
One mode, two panels, and the thing that turns a drawn curve into a scene entity. TerrainModule's shape, one document on — see doc 36 § F2 for why a toolset that was a partial of the editor's application could only exist in an editor compiled with it.
⚠ The gesture ends at a curve and the module is what makes it a body. Drawn hands over a Spline; writing it beside the scene as a .vxspline and creating the entity that names it needs a project and a world, which is exactly what a mode must not need to be testable.
⚠ What it takes from the host, it asks for. The project and the scene, through PluginServices.Require. A host without one refuses the module by name rather than throwing a null reference from inside Activate.
Fields and properties (16)
public const string ModuleIdWhat the host activates it under, and what a plugin depending on it names.
public const string ModuleNameWhat a plugin-management panel calls it.
public const string CreateWavesCommandWhat the Create ▸ entry for a sea state is registered as.
public WaterMode ModeThe mode, so a host or a test can drive it.
public int BodiesCreatedHow many bodies the module has created this session.
public const string CarveTerrainCommandWhat the verb that cuts the bodies into the ground is called.
public int CarvableTerrainsHow many terrains a carve would touch. What the panel says when it is none.
public const string ShowTilesCommandDraws the patches a device selected.
public const string ShowLodCommandDraws which LOD band each patch is in.
public const string ShowInfoCommandDraws the info channels.
public const string ShowFlowCommandDraws the flow field.
public const string ShowBuoyancyCommandDraws what buoyancy reads.
public const string ShowRipplesCommandDraws the ripple simulation only a game runs.
public const string ZonePanelWhat the zone panel is registered as.
public const string BodyPanelAnd the mode's own, which is the body inspector and the draw settings.
public const string SplineExtensionWhat a drawn curve is written as, and therefore what one is looked for as.
Methods (2)
public void Activate(PluginContext context)Adds everything the plugin contributes.
public int Carve()Cuts every body in the scene into every terrain in it, as one undo entry.
Used by (3)
- EditorModulesVixen.Editor.Host
- WaterSceneSourceVixen.Editor.Water
- WaterStringsVixen.Editor.Water