Integrating github/staging through commit ab87ed9

This commit is contained in:
alexpete
2021-04-09 11:27:37 -07:00
parent ae62a97894
commit 1044dc3da1
1582 changed files with 29374 additions and 519051 deletions
@@ -48,7 +48,6 @@ namespace GradientSignal
{
behaviorContext->Class<ConstantGradientConfig>()
->Constructor()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Property("constantValue", BehaviorValueProperty(&ConstantGradientConfig::m_value))
;
@@ -90,7 +89,6 @@ namespace GradientSignal
behaviorContext->Class<ConstantGradientComponent>()->RequestBus("ConstantGradientRequestBus");
behaviorContext->EBus<ConstantGradientRequestBus>("ConstantGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetConstantValue", &ConstantGradientRequestBus::Events::GetConstantValue)
->Event("SetConstantValue", &ConstantGradientRequestBus::Events::SetConstantValue)
@@ -151,4 +149,4 @@ namespace GradientSignal
m_configuration.m_value = constant;
LmbrCentral::DependencyNotificationBus::Event(GetEntityId(), &LmbrCentral::DependencyNotificationBus::Events::OnCompositionChanged);
}
}
}
@@ -67,7 +67,6 @@ namespace GradientSignal
{
behaviorContext->Class<DitherGradientConfig>()
->Constructor()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Property("useSystemPointsPerUnit", BehaviorValueProperty(&DitherGradientConfig::m_useSystemPointsPerUnit))
->Property("pointsPerUnit", BehaviorValueProperty(&DitherGradientConfig::m_pointsPerUnit))
@@ -119,7 +118,6 @@ namespace GradientSignal
behaviorContext->Class<DitherGradientComponent>()->RequestBus("DitherGradientRequestBus");
behaviorContext->EBus<DitherGradientRequestBus>("DitherGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetUseSystemPointsPerUnit", &DitherGradientRequestBus::Events::GetUseSystemPointsPerUnit)
->Event("SetUseSystemPointsPerUnit", &DitherGradientRequestBus::Events::SetUseSystemPointsPerUnit)
@@ -325,4 +323,4 @@ namespace GradientSignal
{
return m_configuration.m_gradientSampler;
}
}
}
@@ -58,7 +58,6 @@ namespace GradientSignal
if (auto behaviorContext = azrtti_cast<AZ::BehaviorContext*>(context))
{
behaviorContext->Class<GradientSurfaceDataConfig>()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Constructor()
->Method("GetNumTags", &GradientSurfaceDataConfig::GetNumTags)
@@ -139,7 +138,6 @@ namespace GradientSignal
;
behaviorContext->EBus<GradientSurfaceDataRequestBus>("GradientSurfaceDataRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Automation)
->Attribute(AZ::Script::Attributes::Module, "vegetation")
@@ -113,7 +113,6 @@ namespace GradientSignal
{
behaviorContext->Class<GradientTransformConfig>()
->Constructor()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Property("advancedMode", BehaviorValueProperty(&GradientTransformConfig::m_advancedMode))
->Property("allowReference", BehaviorValueProperty(&GradientTransformConfig::m_allowReference))
@@ -227,7 +226,6 @@ namespace GradientSignal
behaviorContext->Class<GradientTransformComponent>()->RequestBus("GradientTransformModifierRequestBus");
behaviorContext->EBus<GradientTransformModifierRequestBus>("GradientTransformModifierRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetAllowReference", &GradientTransformModifierRequestBus::Events::GetAllowReference)
->Event("SetAllowReference", &GradientTransformModifierRequestBus::Events::SetAllowReference)
@@ -63,7 +63,6 @@ namespace GradientSignal
{
behaviorContext->Class<ImageGradientConfig>()
->Constructor()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Property("tilingX", BehaviorValueProperty(&ImageGradientConfig::m_tilingX))
->Property("tilingY", BehaviorValueProperty(&ImageGradientConfig::m_tilingY))
@@ -106,7 +105,6 @@ namespace GradientSignal
behaviorContext->Class<ImageGradientComponent>()->RequestBus("ImageGradientRequestBus");
behaviorContext->EBus<ImageGradientRequestBus>("ImageGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetImageAssetPath", &ImageGradientRequestBus::Events::GetImageAssetPath)
->Event("SetImageAssetPath", &ImageGradientRequestBus::Events::SetImageAssetPath)
@@ -46,7 +46,6 @@ namespace GradientSignal
{
behaviorContext->Class<InvertGradientConfig>()
->Constructor()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Property("gradientSampler", BehaviorValueProperty(&InvertGradientConfig::m_gradientSampler))
;
@@ -87,7 +86,6 @@ namespace GradientSignal
behaviorContext->Class<InvertGradientComponent>()->RequestBus("InvertGradientRequestBus");
behaviorContext->EBus<InvertGradientRequestBus>("InvertGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetGradientSampler", &InvertGradientRequestBus::Events::GetGradientSampler)
;
@@ -153,4 +151,4 @@ namespace GradientSignal
{
return m_configuration.m_gradientSampler;
}
}
}
@@ -68,7 +68,6 @@ namespace GradientSignal
{
behaviorContext->Class<LevelsGradientConfig>()
->Constructor()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Property("inputMid", BehaviorValueProperty(&LevelsGradientConfig::m_inputMid))
->Property("inputMin", BehaviorValueProperty(&LevelsGradientConfig::m_inputMin))
@@ -114,7 +113,6 @@ namespace GradientSignal
behaviorContext->Class<LevelsGradientComponent>()->RequestBus("LevelsGradientRequestBus");
behaviorContext->EBus<LevelsGradientRequestBus>("LevelsGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetInputMin", &LevelsGradientRequestBus::Events::GetInputMin)
->Event("SetInputMin", &LevelsGradientRequestBus::Events::SetInputMin)
@@ -258,4 +256,4 @@ namespace GradientSignal
{
return m_configuration.m_gradientSampler;
}
}
}
@@ -59,7 +59,6 @@ namespace GradientSignal
{
behaviorContext->Class<MixedGradientLayer>()
->Constructor()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Property("enabled", BehaviorValueProperty(&MixedGradientLayer::m_enabled))
->Property("mixingOperation",
@@ -156,7 +155,6 @@ namespace GradientSignal
if (auto behaviorContext = azrtti_cast<AZ::BehaviorContext*>(context))
{
behaviorContext->Class<MixedGradientConfig>()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Constructor()
->Method("GetNumLayers", &MixedGradientConfig::GetNumLayers)
@@ -202,7 +200,6 @@ namespace GradientSignal
behaviorContext->Class<MixedGradientComponent>()->RequestBus("MixedGradientRequestBus");
behaviorContext->EBus<MixedGradientRequestBus>("MixedGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetNumLayers", &MixedGradientRequestBus::Events::GetNumLayers)
->Event("AddLayer", &MixedGradientRequestBus::Events::AddLayer)
@@ -355,4 +352,4 @@ namespace GradientSignal
{
return m_configuration.GetLayer(layerIndex);
}
}
}
@@ -75,7 +75,6 @@ namespace GradientSignal
{
behaviorContext->Class<PerlinGradientConfig>()
->Constructor()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Property("randomSeed", BehaviorValueProperty(&PerlinGradientConfig::m_randomSeed))
->Property("octave", BehaviorValueProperty(&PerlinGradientConfig::m_octave))
@@ -120,7 +119,6 @@ namespace GradientSignal
behaviorContext->Class<PerlinGradientComponent>()->RequestBus("PerlinGradientRequestBus");
behaviorContext->EBus<PerlinGradientRequestBus>("PerlinGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetRandomSeed", &PerlinGradientRequestBus::Events::GetRandomSeed)
->Event("SetRandomSeed", &PerlinGradientRequestBus::Events::SetRandomSeed)
@@ -244,4 +242,4 @@ namespace GradientSignal
m_configuration.m_frequency = frequency;
LmbrCentral::DependencyNotificationBus::Event(GetEntityId(), &LmbrCentral::DependencyNotificationBus::Events::OnCompositionChanged);
}
}
}
@@ -56,7 +56,6 @@ namespace GradientSignal
{
behaviorContext->Class<PosterizeGradientConfig>()
->Constructor()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Property("bands", BehaviorValueProperty(&PosterizeGradientConfig::m_bands))
->Property("mode",
@@ -101,7 +100,6 @@ namespace GradientSignal
behaviorContext->Class<PosterizeGradientComponent>()->RequestBus("PosterizeGradientRequestBus");
behaviorContext->EBus<PosterizeGradientRequestBus>("PosterizeGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetBands", &PosterizeGradientRequestBus::Events::GetBands)
->Event("SetBands", &PosterizeGradientRequestBus::Events::SetBands)
@@ -219,4 +217,4 @@ namespace GradientSignal
{
return m_configuration.m_gradientSampler;
}
}
}
@@ -54,7 +54,6 @@ namespace GradientSignal
{
behaviorContext->Class<RandomGradientConfig>()
->Constructor()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Property("randomSeed", BehaviorValueProperty(&RandomGradientConfig::m_randomSeed))
;
@@ -96,7 +95,6 @@ namespace GradientSignal
behaviorContext->Class<RandomGradientComponent>()->RequestBus("RandomGradientRequestBus");
behaviorContext->EBus<RandomGradientRequestBus>("RandomGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetRandomSeed", &RandomGradientRequestBus::Events::GetRandomSeed)
->Event("SetRandomSeed", &RandomGradientRequestBus::Events::SetRandomSeed)
@@ -182,4 +180,4 @@ namespace GradientSignal
m_configuration.m_randomSeed = seed;
LmbrCentral::DependencyNotificationBus::Event(GetEntityId(), &LmbrCentral::DependencyNotificationBus::Events::OnCompositionChanged);
}
}
}
@@ -45,7 +45,6 @@ namespace GradientSignal
if (auto behaviorContext = azrtti_cast<AZ::BehaviorContext*>(context))
{
behaviorContext->Class<ReferenceGradientConfig>()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Constructor()
->Property("gradientSampler", BehaviorValueProperty(&ReferenceGradientConfig::m_gradientSampler))
@@ -88,7 +87,6 @@ namespace GradientSignal
behaviorContext->Class<ReferenceGradientComponent>()->RequestBus("ReferenceGradientRequestBus");
behaviorContext->EBus<ReferenceGradientRequestBus>("ReferenceGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetGradientSampler", &ReferenceGradientRequestBus::Events::GetGradientSampler)
;
@@ -156,4 +154,4 @@ namespace GradientSignal
{
return m_configuration.m_gradientSampler;
}
}
}
@@ -59,7 +59,6 @@ namespace GradientSignal
if (auto behaviorContext = azrtti_cast<AZ::BehaviorContext*>(context))
{
behaviorContext->Class<ShapeAreaFalloffGradientConfig>()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Constructor()
->Property("shapeEntityId", BehaviorValueProperty(&ShapeAreaFalloffGradientConfig::m_shapeEntityId))
@@ -106,7 +105,6 @@ namespace GradientSignal
behaviorContext->Class<ShapeAreaFalloffGradientComponent>()->RequestBus("ShapeAreaFalloffGradientRequestBus");
behaviorContext->EBus<ShapeAreaFalloffGradientRequestBus>("ShapeAreaFalloffGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetShapeEntityId", &ShapeAreaFalloffGradientRequestBus::Events::GetShapeEntityId)
->Event("SetShapeEntityId", &ShapeAreaFalloffGradientRequestBus::Events::SetShapeEntityId)
@@ -213,4 +211,4 @@ namespace GradientSignal
m_configuration.m_falloffType = type;
LmbrCentral::DependencyNotificationBus::Event(GetEntityId(), &LmbrCentral::DependencyNotificationBus::Events::OnCompositionChanged);
}
}
}
@@ -78,7 +78,6 @@ namespace GradientSignal
{
behaviorContext->Class<SmoothStepGradientConfig>()
->Constructor()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Property("smoothStep", BehaviorValueProperty(&SmoothStepGradientConfig::m_smoothStep))
->Property("gradientSampler", BehaviorValueProperty(&SmoothStepGradientConfig::m_gradientSampler))
@@ -123,7 +122,6 @@ namespace GradientSignal
;
behaviorContext->EBus<SmoothStepGradientRequestBus>("SmoothStepGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetGradientSampler", &SmoothStepGradientRequestBus::Events::GetGradientSampler)
;
@@ -58,7 +58,6 @@ namespace GradientSignal
if (auto behaviorContext = azrtti_cast<AZ::BehaviorContext*>(context))
{
behaviorContext->Class<SurfaceAltitudeGradientConfig>()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Constructor()
->Property("shapeEntityId", BehaviorValueProperty(&SurfaceAltitudeGradientConfig::m_shapeEntityId))
@@ -140,7 +139,6 @@ namespace GradientSignal
behaviorContext->Class<SurfaceAltitudeGradientComponent>()->RequestBus("SurfaceAltitudeGradientRequestBus");
behaviorContext->EBus<SurfaceAltitudeGradientRequestBus>("SurfaceAltitudeGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetShapeEntityId", &SurfaceAltitudeGradientRequestBus::Events::GetShapeEntityId)
->Event("SetShapeEntityId", &SurfaceAltitudeGradientRequestBus::Events::SetShapeEntityId)
@@ -324,4 +322,4 @@ namespace GradientSignal
m_configuration.AddTag(tag);
LmbrCentral::DependencyNotificationBus::Event(GetEntityId(), &LmbrCentral::DependencyNotificationBus::Events::OnCompositionChanged);
}
}
}
@@ -46,7 +46,6 @@ namespace GradientSignal
if (auto behaviorContext = azrtti_cast<AZ::BehaviorContext*>(context))
{
behaviorContext->Class<SurfaceMaskGradientConfig>()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Constructor()
->Method("GetNumTags", &SurfaceMaskGradientConfig::GetNumTags)
@@ -116,7 +115,6 @@ namespace GradientSignal
behaviorContext->Class<SurfaceMaskGradientComponent>()->RequestBus("SurfaceMaskGradientRequestBus");
behaviorContext->EBus<SurfaceMaskGradientRequestBus>("SurfaceMaskGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetNumTags", &SurfaceMaskGradientRequestBus::Events::GetNumTags)
->Event("GetTag", &SurfaceMaskGradientRequestBus::Events::GetTag)
@@ -211,4 +209,4 @@ namespace GradientSignal
m_configuration.AddTag(tag);
LmbrCentral::DependencyNotificationBus::Event(GetEntityId(), &LmbrCentral::DependencyNotificationBus::Events::OnCompositionChanged);
}
}
}
@@ -72,7 +72,6 @@ namespace GradientSignal
if (auto behaviorContext = azrtti_cast<AZ::BehaviorContext*>(context))
{
behaviorContext->Class<SurfaceSlopeGradientConfig>()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Constructor()
->Property("slopeMin", BehaviorValueProperty(&SurfaceSlopeGradientConfig::m_slopeMin))
@@ -152,7 +151,6 @@ namespace GradientSignal
behaviorContext->Class<SurfaceSlopeGradientComponent>()->RequestBus("SurfaceSlopeGradientRequestBus");
behaviorContext->EBus<SurfaceSlopeGradientRequestBus>("SurfaceSlopeGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetSlopeMin", &SurfaceSlopeGradientRequestBus::Events::GetSlopeMin)
->Event("SetSlopeMin", &SurfaceSlopeGradientRequestBus::Events::SetSlopeMin)
@@ -334,4 +332,4 @@ namespace GradientSignal
LmbrCentral::DependencyNotificationBus::Event(GetEntityId(), &LmbrCentral::DependencyNotificationBus::Events::OnCompositionChanged);
}
}
}
@@ -50,7 +50,6 @@ namespace GradientSignal
{
behaviorContext->Class<ThresholdGradientConfig>()
->Constructor()
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Property("threshold", BehaviorValueProperty(&ThresholdGradientConfig::m_threshold))
->Property("gradientSampler", BehaviorValueProperty(&ThresholdGradientConfig::m_gradientSampler))
@@ -92,7 +91,6 @@ namespace GradientSignal
behaviorContext->Class<ThresholdGradientComponent>()->RequestBus("ThresholdGradientRequestBus");
behaviorContext->EBus<ThresholdGradientRequestBus>("ThresholdGradientRequestBus")
->Attribute(AZ::Script::Attributes::ExcludeFrom, AZ::Script::Attributes::ExcludeFlags::Preview)
->Attribute(AZ::Script::Attributes::Category, "Vegetation")
->Event("GetThreshold", &ThresholdGradientRequestBus::Events::GetThreshold)
->Event("SetThreshold", &ThresholdGradientRequestBus::Events::SetThreshold)
@@ -172,4 +170,4 @@ namespace GradientSignal
{
return m_configuration.m_gradientSampler;
}
}
}