Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolumeVisualizer Class Reference

Detailed Description

The view script that visualizes the StorageVolume content with scene placed game objects.

Inheritance diagram for Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolumeVisualizer:
Collaboration diagram for Doloro.InvetorySystem.Features.VolumetricSpace.StorageVolumeVisualizer:

Public Member Functions

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...
 

Protected Member Functions

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...
 

Properties

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.
 

Member Function Documentation

◆ 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
spaceSpace to fill.
matMaterial supposed to be used.
parentObject 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
objVolume as property.

The documentation for this class was generated from the following file: