ConstraintsBehavior

value class ConstraintsBehavior


Defines the behavior for applying VolumeConstraints to an ApplicationSubspace.

Summary

Public companion properties

ConstraintsBehavior

Attempt to calculate the ApplicationSubspace's VolumeConstraints based on the SpatialUser's field of view.

ConstraintsBehavior

Use the passed-in VolumeConstraints directly, without attempting to calculate field of view constraints.

Public companion properties

FieldOfView

Added in 1.0.0-alpha04
val FieldOfViewConstraintsBehavior

Attempt to calculate the ApplicationSubspace's VolumeConstraints based on the SpatialUser's field of view. If the field of view cannot be determined (e.g., due to the perception stack not being ready), the VolumeConstraints provided to the ApplicationSubspace will be used as a fallback.

Specified

Added in 1.0.0-alpha04
val SpecifiedConstraintsBehavior

Use the passed-in VolumeConstraints directly, without attempting to calculate field of view constraints.