PropertyHandlerVec.cpp 989 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #include "EditorCommon.h"
  9. #include "PropertyHandlerVec.h"
  10. //////////////////////////////////////////////////////////////////////////
  11. void PropertyHandlerVecRegister()
  12. {
  13. AzToolsFramework::PropertyTypeRegistrationMessages::Bus::Broadcast(
  14. &AzToolsFramework::PropertyTypeRegistrationMessages::Bus::Events::RegisterPropertyType, aznew PropertyHandlerVec2());
  15. AzToolsFramework::PropertyTypeRegistrationMessages::Bus::Broadcast(
  16. &AzToolsFramework::PropertyTypeRegistrationMessages::Bus::Events::RegisterPropertyType, aznew PropertyHandlerVec3());
  17. AzToolsFramework::PropertyTypeRegistrationMessages::Bus::Broadcast(
  18. &AzToolsFramework::PropertyTypeRegistrationMessages::Bus::Events::RegisterPropertyType, aznew PropertyHandlerVec4());
  19. }