Exemplo n.º 1
0
 /// <summary>
 /// Returns true if there is at least one Segment in the target Theme that is marked as directly compatible to the source Segment.
 /// </summary>
 /// <remarks>
 /// If this method returns true, this means that a direct transition from the sourceSegment to the target Theme is possible. Respectively,
 /// if the target Thme is of type Highlight Layer, a compatible Segment exists that will be layered over the sourceSegment if the
 /// Highlight Layer is triggered while the source Segment is playing.
 /// If no compatible Segment exists, the trigger call will be ignored in case of Highlight Layers. For other Themes types,
 /// psai will play the shortest Sequence of compatible Segments until the target Theme is be reached. If no compatible sequence exists, you will be warned by the Psai Editor upon export / audit.
 /// </remarks>
 /// <param name="sourceSegmentId">the id of the Source Segment</param>
 /// <param name="targetThemeId">the id of the Theme to transition to</param>
 /// <returns></returns>
 public bool CheckIfAtLeastOneDirectTransitionOrLayeringIsPossible(int sourceSegmentId, int targetThemeId)
 {
     return(m_logik.CheckIfAtLeastOneDirectTransitionOrLayeringIsPossible(sourceSegmentId, targetThemeId));
 }