Request for playing a certain Theme at the desired intensity, for the given duration.

Namespace: psai.net
Assembly: psaiCoreDotNet (in psaiCoreDotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public PsaiResult TriggerMusicTheme(
	int themeId,
	float intensity,
	int musicDurationInSeconds
)

Parameters

themeId
Type: System..::..Int32
The id of the Theme to play
intensity
Type: System..::..Single
The initial intensity value. The valid range is between 0.0f and 1.0f.
musicDurationInSeconds
Type: System..::..Int32
the desired play duration (seconds) of the Theme after this single trigger call

Return Value

Type: PsaiResult
PsaiResult.OK if successful

See Also