Class MultiEchoLaserScanVisualizerSettings
ScriptableObject settings for the MultiEchoLaserScan visualizer. Configures point radius, optional intensity-driven sizing, and the size normalization range.
Inheritance
Inherited Members
Namespace: Global Namespace
Assembly: Unity.SimulationPro.Foundation.Visualizations.dll
Syntax
[CreateAssetMenu(fileName = "MultiEchoLaserScanVisualizerSettings", menuName = "Robotics/Sensor Visualizers/MultiEchoLaserScan", order = 1)]
public class MultiEchoLaserScanVisualizerSettings : VisualizerSettingsGeneric<MultiEchoLaserScanMsg>
Properties
PointRadius
Gets or sets the fixed billboard point radius in world units, used when UseIntensitySize is false.
Declaration
public float PointRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
SizeRange
Gets or sets the [min, max] intensity range over which point radius is normalized when UseIntensitySize is true.
Declaration
public float[] SizeRange { get; set; }
Property Value
| Type | Description |
|---|---|
| float[] |
UseIntensitySize
Gets or sets whether the point radius is scaled by the echo intensity rather than using a fixed PointRadius.
Declaration
public bool UseIntensitySize { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
CreateGUI(MultiEchoLaserScanMsg, MessageMetadata)
Creates a GUI callback that renders an Inspector panel for the message data.
Declaration
public override Action CreateGUI(MultiEchoLaserScanMsg message, MessageMetadata meta)
Parameters
| Type | Name | Description |
|---|---|---|
| MultiEchoLaserScanMsg | message | The message data to visualize. |
| MessageMetadata | meta | Metadata about the received message (topic, timestamp, frame). |
Returns
| Type | Description |
|---|---|
| Action | An action that draws the GUI. |
Overrides
Draw(Drawing3d, MultiEchoLaserScanMsg, MessageMetadata, Transform)
Draws a 3D visualization of the message data.
Declaration
public override void Draw(Drawing3d drawing, MultiEchoLaserScanMsg message, MessageMetadata meta, Transform visualizerTransform)
Parameters
| Type | Name | Description |
|---|---|---|
| Drawing3d | drawing | The 3D drawing context to render into. |
| MultiEchoLaserScanMsg | message | The message data to visualize. |
| MessageMetadata | meta | Metadata about the received message (topic, timestamp, frame). |
| Transform | visualizerTransform | The visualizerTransform. |