- class datagen.api.assets.Gaze(*, distance: ConstrainedFloatValue = 15.0, direction: Vector = None)#
Defines a target point for an actor’s eye gaze, by uses distance and direction from a starting point.
The starting point is the midpoint between the center of the actor’s two pupils.
- direction: Vector#
A vector that defines the direction between the starting point to the target point.
The x, y, and z components of this vector are in the head space, with -y being straight ahead.
- distance: float#
The linear distance between the starting point (the midpoint between the center of the actor’s two pupils) and the target point.