Editor representation of White Box Tool. More...
#include <EditorWhiteBoxComponent.h>
Inherits AzToolsFramework::Components::EditorComponentBase, AzToolsFramework::EditorComponentSelectionRequestsBus::Handler, AzFramework::BoundsRequestBus::Handler, AzFramework::VisibleGeometryRequestBus::Handler, EditorWhiteBoxComponentRequestBus::Handler, EditorWhiteBoxComponentNotificationBus::Handler, AZ::TransformNotificationBus::Handler, AzFramework::EntityDebugDisplayEventBus::Handler, and AzToolsFramework::EditorVisibilityNotificationBus::Handler.
Public Member Functions | |
| AZ_EDITOR_COMPONENT (EditorWhiteBoxComponent, "{C9F2D913-E275-49BB-AB4F-2D221C16170A}", EditorComponentBase) | |
| EditorWhiteBoxComponent (const EditorWhiteBoxComponent &)=delete | |
| EditorWhiteBoxComponent & | operator= (const EditorWhiteBoxComponent &)=delete |
| void | Init () override |
| void | Activate () override |
| void | Deactivate () override |
| WhiteBoxMesh * | GetWhiteBoxMesh () override |
| void | SerializeWhiteBox () override |
| void | DeserializeWhiteBox () override |
| void | WriteAssetToComponent () override |
| void | RebuildWhiteBox () override |
| void | SetDefaultShape (DefaultShapeType defaultShape) override |
| AZ::Aabb | GetEditorSelectionBoundsViewport (const AzFramework::ViewportInfo &viewportInfo) override |
| bool | EditorSelectionIntersectRayViewport (const AzFramework::ViewportInfo &viewportInfo, const AZ::Vector3 &src, const AZ::Vector3 &dir, float &distance) override |
| bool | SupportsEditorRayIntersect () override |
| AZ::Aabb | GetWorldBounds () const override |
| AZ::Aabb | GetLocalBounds () const override |
| void | BuildVisibleGeometry (const AZ::Aabb &bounds, AzFramework::VisibleGeometryContainer &geometryContainer) const override |
| bool | HasRenderMesh () const |
| Returns if the component currently has an instance of RenderMeshInterface. | |
| bool | AssetInUse () const |
| Returns if the component is currently using a White Box mesh asset to store its data. | |
| void | OverrideEditorWhiteBoxMeshAsset (EditorWhiteBoxMeshAsset *editorMeshAsset) |
Static Public Member Functions | |
| static void | Reflect (AZ::ReflectContext *context) |
Editor representation of White Box Tool.
| void WhiteBox::EditorWhiteBoxComponent::OverrideEditorWhiteBoxMeshAsset | ( | EditorWhiteBoxMeshAsset * | editorMeshAsset | ) |
Override the internal EditorWhiteBoxMeshAsset with an external instance.