|
|
|
@ -59,6 +59,9 @@ namespace EMStudio
|
|
|
|
AZ::EntityId GetEntityId() const;
|
|
|
|
AZ::EntityId GetEntityId() const;
|
|
|
|
AzFramework::EntityContextId GetEntityContextId() const;
|
|
|
|
AzFramework::EntityContextId GetEntityContextId() const;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Call this function on update to prevent the character going out of bounds of the ground.
|
|
|
|
|
|
|
|
void CheckBounds();
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
|
|
// This function resets the light, camera and other environment settings.
|
|
|
|
// This function resets the light, camera and other environment settings.
|
|
|
|
@ -91,6 +94,8 @@ namespace EMStudio
|
|
|
|
const RenderOptions* m_renderOptions;
|
|
|
|
const RenderOptions* m_renderOptions;
|
|
|
|
|
|
|
|
|
|
|
|
const float DefaultFrustumDimension = 128.0f;
|
|
|
|
const float DefaultFrustumDimension = 128.0f;
|
|
|
|
|
|
|
|
const float BoundMaxDistance = 150.0f;
|
|
|
|
|
|
|
|
const float TileSize = 1.0f;
|
|
|
|
AZStd::vector<AZ::Render::DirectionalLightFeatureProcessorInterface::LightHandle> m_lightHandles;
|
|
|
|
AZStd::vector<AZ::Render::DirectionalLightFeatureProcessorInterface::LightHandle> m_lightHandles;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|