FrameSetDeviceAttribute Method

Add a device attribute

Definition

Namespace: Dfx.Sdk
Assembly: Nuralogix.Dfx.Sdk (in Nuralogix.Dfx.Sdk.dll) Version: 4.14.5.0 (4.14.5.0)
C#
public void SetDeviceAttribute(
	string key,
	double value
)

Parameters

key  String
the attribute name
value  Double
the value of the attribute

Remarks

Device attributes are things like "acceleration" or "rotation".

When these attributes involve multiple values, like X and Y co-ordinates they should be expanded as "acceleration:x" and "acceleration:y"

See Also