ITextStudioReactionRetainedWorldObjectProvider
public interface ITextStudioReactionRetainedWorldObjectProviderOptional Play Mode bridge to one backend-owned world object for a physical retained response.
Methods
Section titled “Methods”
TryGetRetainedWorldObject(int, uint, out GameObject, out Vector3, out Vector3)
Section titled “TryGetRetainedWorldObject(int, uint, out GameObject, out Vector3, out Vector3)”bool TryGetRetainedWorldObject(int slot, uint version, out GameObject output, out Vector3 linearVelocity, out Vector3 angularVelocity)Attempts to obtain a retained world object and its launch velocities for the specified capture version.
Parameters
| Name | Type |
|---|---|
slot |
System.Int32 |
version |
System.UInt32 |
output |
UnityEngine.GameObject |
linearVelocity |
UnityEngine.Vector3 |
angularVelocity |
UnityEngine.Vector3 |
Returns
System.Boolean
TrySubmitAppearance(int, uint, Vector3, float, Color32)
Section titled “TrySubmitAppearance(int, uint, Vector3, float, Color32)”bool TrySubmitAppearance(int slot, uint version, Vector3 scale, float alpha, Color32 tint)Attempts to update scale, opacity, and tint on the specified retained world-object capture.
Parameters
| Name | Type |
|---|---|
slot |
System.Int32 |
version |
System.UInt32 |
scale |
UnityEngine.Vector3 |
alpha |
System.Single |
tint |
UnityEngine.Color32 |
Returns
System.Boolean