|
Hymn to Beauty
C++ 3D Engine
|
Cone shape editor for physics components. More...
#include <ConeShapeEditor.hpp>
Public Member Functions | |
| ConeShapeEditor ()=default | |
| Constructor. More... | |
| const char * | Label () const override |
| void | Show (Component::Shape *comp) override |
| Displays the editor. More... | |
| void | Apply (Component::Shape *comp) override |
| Set the shape of a shape component. More... | |
| bool | SetFromShape (const Physics::Shape &shape) override |
Public Member Functions inherited from GUI::IShapeEditor | |
| virtual | ~IShapeEditor () |
| Destructor. More... | |
Cone shape editor for physics components.
|
default |
Constructor.
|
overridevirtual |
Set the shape of a shape component.
| comp | The shape component on which to set shape. |
Implements GUI::IShapeEditor.
|
inlineoverridevirtual |
Get a string with the kind of shape that's being edited. This is intended to be used as a label in the GUI.
Implements GUI::IShapeEditor.
|
overridevirtual |
Set internal data according to an existing shape. If the shape does not correspond to the actual editor, nothing happens.
| shape | The Shape from which to initialize data. |
Implements GUI::IShapeEditor.
|
overridevirtual |