Services provided by the Editor Shape Component.
More...
#include <EditorShapeComponentBus.h>
Inherits AZ::ComponentBus.
|
| virtual void | SetShapeColor (const AZ::Color &solidColor)=0 |
| | Sets the shape color.
|
| |
| virtual void | SetShapeWireframeColor (const AZ::Color &wireColor)=0 |
| | Sets the wireframe shape color.
|
| |
| virtual void | SetVisibleInEditor (bool visible)=0 |
| | Sets if the shape should be visible in the editor when the object is deselected.
|
| |
| virtual void | SetShapeColorIsEditable (bool editable)=0 |
| | Sets if the shape color can be set by the user in the editor. This is useful for components that need to control the shape's color directly.
|
| |
|
virtual bool | GetShapeColorIsEditable ()=0 |
| | Returns true if the shape color can be set by the user in the editor.
|
| |
| virtual void | SetVisibleInGame (bool visible)=0 |
| | Sets if the shape is visible in game view.
|
| |
Services provided by the Editor Shape Component.
◆ SetShapeColor()
| virtual void LmbrCentral::EditorShapeComponentRequests::SetShapeColor |
( |
const AZ::Color & |
solidColor | ) |
|
|
pure virtual |
Sets the shape color.
- Parameters
-
| solidColor | the color to be used for drawing solid shapes |
◆ SetShapeColorIsEditable()
| virtual void LmbrCentral::EditorShapeComponentRequests::SetShapeColorIsEditable |
( |
bool |
editable | ) |
|
|
pure virtual |
Sets if the shape color can be set by the user in the editor. This is useful for components that need to control the shape's color directly.
- Parameters
-
| editable | true if the shape color should be editable |
◆ SetShapeWireframeColor()
| virtual void LmbrCentral::EditorShapeComponentRequests::SetShapeWireframeColor |
( |
const AZ::Color & |
wireColor | ) |
|
|
pure virtual |
Sets the wireframe shape color.
- Parameters
-
| wireColor | the color to be used for drawing shapes in wireframe |
◆ SetVisibleInEditor()
| virtual void LmbrCentral::EditorShapeComponentRequests::SetVisibleInEditor |
( |
bool |
visible | ) |
|
|
pure virtual |
Sets if the shape should be visible in the editor when the object is deselected.
- Parameters
-
| visible | true if the shape should be visible when deselected |
◆ SetVisibleInGame()
| virtual void LmbrCentral::EditorShapeComponentRequests::SetVisibleInGame |
( |
bool |
visible | ) |
|
|
pure virtual |
Sets if the shape is visible in game view.
- Parameters
-
| visible | true for shape to be visible |
The documentation for this class was generated from the following file:
- Gems/LmbrCentral/Code/include/LmbrCentral/Shape/EditorShapeComponentBus.h