PoseContext

What a node’s position or rotation function (set_position_function, set_rotation_function) is called with.

class huira.PoseContext

What a pose is evaluated for: what a node’s position or rotation function is called with.

__init__(self: huira._huira.PoseContext, time: huira._huira.Time, reference: Optional[huira._huira.Time] = None, observation_mode: huira._huira.ObservationMode = <ObservationMode.ABERRATED_STATE: 2>) → None

A context, as for testing a function: its reference is its time by default.

at(self: huira._huira.PoseContext, time: huira._huira.Time) → huira._huira.PoseContext

The same context at another time.

property observation_mode

How the scene view observes.

property reference

the reference time of the scene view’s interval.

Type:

The time that poses set by hand hold at

property time

the time of observation, less any light time.

Type:

The time the pose is wanted at