Interface ILookAtProvider
- Namespace
- Uralstech.AvLoader.Capabilities
Provides control over avatar look-at behavior.
public interface ILookAtProvider : ICapability
Remarks
The implementation of look-at (e.g. head, eyes, constraints, or animation) is implementation-defined.
Methods
ClearTarget()
Clears the look-at target.
void ClearTarget()
Remarks
Implementations should reset the avatar to its default gaze.
SetTarget(Transform)
Sets a transform for the avatar to look at.
void SetTarget(Transform transform)
Parameters
transformTransform
Remarks
Implementations should track the transform over time.
SetTarget(Vector3)
Sets a fixed world-space position for the avatar to look at.
void SetTarget(Vector3 worldPosition)
Parameters
worldPositionVector3