Class Capabilities
Represents features of the hardware and software SDKs, used in a request for what the app needs vs. what is available
Namespace: Unity.MARS.Data
Syntax
[Serializable]
public class Capabilities : ISerializationCallbackReceiver
Fields
cloudSupport
If the experience requires cloud data
Declaration
public bool cloudSupport
Field Value
Type | Description |
---|---|
Boolean |
Properties
RequiredCameraFacing
The required camera facing direction
Declaration
public CameraFacingDirection RequiredCameraFacing { get; set; }
Property Value
Type | Description |
---|---|
CameraFacingDirection |
TraitRequirements
A set of exact traits that must be supported
Declaration
public HashSet<TraitRequirement> TraitRequirements { get; }
Property Value
Type | Description |
---|---|
HashSet<TraitRequirement> |
Methods
AddCapabilities(Capabilities)
Adds features from another Capabilities to this set of features
Declaration
public void AddCapabilities(Capabilities other)
Parameters
Type | Name | Description |
---|---|---|
Capabilities | other | Capabilities to add |
OnAfterDeserialize()
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
Declaration
public void OnBeforeSerialize()