The view script that visualizes the StorageVolume content with scene placed game objects.
|
void | Repaint () |
| Destroys current UI and generates new visualization.
|
|
void | Clear () |
| Clears entire volumes placed inside the volume.
|
|
virtual void | CreateVisualizationElement (GridSpace space, Material mat, Transform parent) |
| Handler that instantiate element of the space visualization. More...
|
|
|
virtual void | Start () |
| Start is called before the first frame update.
|
|
virtual void | OnSelectedVolumeChange () |
| Handler that occurs any time when visualization target changed via the volume property.
|
|
virtual void | OnVolumeModified (AEntityFeature obj) |
| Handler that occurs when volume's internal parameters changed. More...
|
|
|
StorageVolume | volume [get, set] |
| The volume instance connected to the view.
|
|
float | PointSize [get] |
| Size of single unit computing accordingly with provided visualization volume and current content size.
|
|
Transform | bound [get, set] |
| Object that visualizes volumetric bounds.
|
|
Transform | holder [get, set] |
| Object that contains entire internal boxes.
|
|
Material | VolumeMaterial [get, set] |
| Material using for regular volume objects.
|
|
Material | SelectionMaterial [get, set] |
| Material using to highlight selected volume.
|
|
bool | DrawFreespaceZones [get, set] |
| Defines is unused space volume should be filled with padding geometry.
|
|
◆ CreateVisualizationElement()
virtual void Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolumeVisualizer.CreateVisualizationElement |
( |
GridSpace |
space, |
|
|
Material |
mat, |
|
|
Transform |
parent |
|
) |
| |
|
virtual |
Handler that instantiate element of the space visualization.
- Parameters
-
space | Space to fill. |
mat | Material supposed to be used. |
parent | Object supposed to be coordinates center and game object parent. |
◆ OnVolumeModified()
virtual void Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolumeVisualizer.OnVolumeModified |
( |
AEntityFeature |
obj | ) |
|
|
protectedvirtual |
Handler that occurs when volume's internal parameters changed.
- Parameters
-
The documentation for this class was generated from the following file:
- D:/Work/GitHub/DGDK22/Assets/Tauri Interactive/Doloro-GDK/Doloro-Inventory-Volume/Runtime/Scripts/GUI/StorageVolumeVisualizer.cs