ITextStudioReactionBodyProvider
public interface ITextStudioReactionBodyProviderOptional target-scoped owner of physical semantic-unit reactions.
Methods
Section titled “Methods”
CanReleaseSemanticUnit(int)
Section titled “CanReleaseSemanticUnit(int)”bool CanReleaseSemanticUnit(int unitIndex)Reports whether this physical owner can release the specified semantic unit at its current pose.
Parameters
| Name | Type |
|---|---|
unitIndex |
System.Int32 |
Returns
System.Boolean
TryReleaseSemanticUnit(int, Vector3, Vector3, out TextStudioReactionBodyEventSession)
Section titled “TryReleaseSemanticUnit(int, Vector3, Vector3, out TextStudioReactionBodyEventSession)”bool TryReleaseSemanticUnit(int unitIndex, Vector3 velocity, Vector3 angularVelocity, out TextStudioReactionBodyEventSession session)Release at the current pose, adding world-space launch velocities to existing motion.
Parameters
| Name | Type |
|---|---|
unitIndex |
System.Int32 |
velocity |
UnityEngine.Vector3 |
angularVelocity |
UnityEngine.Vector3 |
session |
TextStudio.TextStudioReactionBodyEventSession |
Returns
System.Boolean
Properties
Section titled “Properties”
IsAvailable
Section titled “IsAvailable”bool IsAvailable { get; }Returns
System.Boolean