feat(render): implement Campaign AR and terrain fidelity
This commit is contained in:
parent
99cf26e00c
commit
7a5f96ede5
368 changed files with 50611 additions and 950 deletions
|
|
@ -792,6 +792,67 @@ internal sealed class DeferredWorldLifecycleAutomationRuntime
|
|||
!_deactivated && _target?.IsWorldViewportVisible == true;
|
||||
public int PortalMaterializationCount =>
|
||||
!_deactivated ? _target?.PortalMaterializationCount ?? 0 : 0;
|
||||
public int RenderPackPerformanceSampleCount =>
|
||||
!_deactivated ? _target?.RenderPackPerformanceSampleCount ?? 0 : 0;
|
||||
public bool RenderPackFailedToRetail =>
|
||||
!_deactivated && _target?.RenderPackFailedToRetail == true;
|
||||
public RetailUiAutomationRenderPackStatus RenderPackStatus =>
|
||||
!_deactivated
|
||||
? _target?.RenderPackStatus
|
||||
?? RetailUiAutomationRenderPackStatus.Retail
|
||||
: RetailUiAutomationRenderPackStatus.Retail;
|
||||
public int FramebufferWidth =>
|
||||
!_deactivated ? _target?.FramebufferWidth ?? 0 : 0;
|
||||
public int FramebufferHeight =>
|
||||
!_deactivated ? _target?.FramebufferHeight ?? 0 : 0;
|
||||
|
||||
public bool TrySelectRenderPack(string presetId, out string error)
|
||||
{
|
||||
if (!_deactivated && _target is { } target)
|
||||
return target.TrySelectRenderPack(presetId, out error);
|
||||
error = "world lifecycle automation is not bound";
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool TryDisableRenderPack(out string error)
|
||||
{
|
||||
if (!_deactivated && _target is { } target)
|
||||
return target.TryDisableRenderPack(out error);
|
||||
error = "world lifecycle automation is not bound";
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool TryReenableRenderPack(out string error)
|
||||
{
|
||||
if (!_deactivated && _target is { } target)
|
||||
return target.TryReenableRenderPack(out error);
|
||||
error = "world lifecycle automation is not bound";
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool TryResizeFramebuffer(int width, int height, out string error)
|
||||
{
|
||||
if (!_deactivated && _target is { } target)
|
||||
return target.TryResizeFramebuffer(width, height, out error);
|
||||
error = "world lifecycle automation is not bound";
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool TryResetRenderPackPerformance(out string error)
|
||||
{
|
||||
if (!_deactivated && _target is { } target)
|
||||
return target.TryResetRenderPackPerformance(out error);
|
||||
error = "world lifecycle automation is not bound";
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool TryRequestClientClose(out string error)
|
||||
{
|
||||
if (!_deactivated && _target is { } target)
|
||||
return target.TryRequestClientClose(out error);
|
||||
error = "world lifecycle automation is not bound";
|
||||
return false;
|
||||
}
|
||||
|
||||
public IDisposable Bind(IRetailUiAutomationRuntime target)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue