Skip to content
Version 2.32.0
↓ Get the launcher

IPoseTarget interface

One person being posed. Calls on a Released target do nothing.

public interface IPoseTarget
name description
Moment { get; set; } Set: 0–1 holds the current action at that point of its length; −1 lets it play. Get: the held point while held; while playing, how far it has played (reads the game — call on a user action, not every frame); −1 when nothing plays. Before PlayAction, setting 0–1 holds the action the person was already doing (TryGetCurrentAction) at that point without restarting it; ignored when they do none.
State { get; } Where this target stands.
Yaw { get; set; } Degrees (−180…180) turned from the facing the person had when first posed.
Aim(…) The Free point: x right / y up, each −1..1, around the head as the camera sees it. Remembered in any mode; applied in Free.
PlayAction(…) Plays an action (an emote id from Unlocked) on this person, without telling other players. Makes the copy / model on first use.
Reset() Returns this person to normal now (removes their copy or model and shows the real person); the target stays selected and the next control starts fresh.
SetExpression(…) Shows an expression (an Id; 0 clears). With hold it stays until changed; without, it fades after a few seconds as in the game.
SetLook(…) Sets where the head or the eyes look. locked pins a Lens target where the camera is now (the camera can then move away). Lens follows whichever camera renders — the free camera while one is held, the game’s camera otherwise.