Class BeginSessionOptions
java.lang.Object
com.azure.mixedreality.remoterendering.models.BeginSessionOptions
Options for a session to be created.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the maxLeaseTime property: The time the session will run after reaching the 'Ready' state.getSize()
Get the size property: Size of the server used for the rendering session.setMaxLeaseTime
(Duration maxLeaseTime) Set the maxLeaseTime property: The time the session will run after reaching the 'Ready' state.setSize
(RenderingSessionSize size) Set the size property: Size of the server used for the rendering session.
-
Constructor Details
-
BeginSessionOptions
public BeginSessionOptions()
-
-
Method Details
-
setMaxLeaseTime
Set the maxLeaseTime property: The time the session will run after reaching the 'Ready' state.- Parameters:
maxLeaseTime
- the maxLeaseTime value- Returns:
- this BeginSessionOptions object.
-
setSize
Set the size property: Size of the server used for the rendering session. Remote Rendering with Standard size server has a maximum scene size of 20 million polygons. Remote Rendering with Premium size does not enforce a hard maximum, but performance may be degraded if your content exceeds the rendering capabilities of the service.- Parameters:
size
- the size value- Returns:
- this BeginSessionOptions object.
-
getMaxLeaseTime
Get the maxLeaseTime property: The time the session will run after reaching the 'Ready' state.- Returns:
- the maxLeaseTime value.
-
getSize
Get the size property: Size of the server used for the rendering session. Remote Rendering with Standard size server has a maximum scene size of 20 million polygons. Remote Rendering with Premium size does not enforce a hard maximum, but performance may be degraded if your content exceeds the rendering capabilities of the service.- Returns:
- the size value.
-