feat: add ephemeral webcam faces and adaptive screens
This commit is contained in:
@@ -205,6 +205,10 @@ export interface SceneHandle {
|
||||
actorState(): Readonly<ActorControllerSnapshot> | null;
|
||||
/** Replace the visible local actor profile without disturbing its position or controls. */
|
||||
setActorIdentity(identity: ActorIdentity): void;
|
||||
/** Attach a caller-owned face texture to the local humanoid, if one is active. */
|
||||
attachActorFaceTexture(texture: THREE.Texture): boolean;
|
||||
/** Detach the current local face texture without disposing caller ownership. */
|
||||
clearActorFaceTexture(): void;
|
||||
setActorActive(active: boolean): void;
|
||||
actorActive(): boolean;
|
||||
setAircraftActions(actions: Partial<AircraftActionSnapshot>): void;
|
||||
@@ -646,6 +650,8 @@ export async function createScene(
|
||||
setActorActions: (actions) => { sceneActor?.setActions(actions); },
|
||||
actorState: () => sceneActor?.state() ?? null,
|
||||
setActorIdentity: (identity) => { sceneActor?.setIdentity(identity); },
|
||||
attachActorFaceTexture: (texture) => sceneActor?.attachFaceTexture(texture) ?? false,
|
||||
clearActorFaceTexture: () => { sceneActor?.clearFaceTexture(); },
|
||||
setActorActive(active) {
|
||||
sceneActor?.setActive(active);
|
||||
if (active) {
|
||||
|
||||
Reference in New Issue
Block a user