- Systems
- Components
Emits an "exit" event when a user has stopped using the app for a certain period of time
src/systems/exit-on-blur.js
Iterates through bubbles and invaders on every tick and sets invader state accordingly. testing multiline things
src/systems/personal-space-bubble.js
Instantiates and updates a THREE.AnimationMixer on an entity.
src/components/animation-mixer.js
Sets an entity's color base on audioFrequencyChange events.
src/components/audio-feedback.js
Sets the CSS class on an entity.
src/components/css-class.js
Floats a duck based on its scale.
src/components/duck.js
Listens to events from an event source and re-emits them on this entity
src/components/event-repeater.js
Loops the given clip using this entity's animation mixer
src/components/loop-animation.js
Positions an entity relative to a given target when the given event is fired.
src/components/offset-relative-to.js
Emits audioFrequencyChange events based on a networked audio source
src/components/audio-feedback.js
Sets an entity's scale base on audioFrequencyChange events.
src/components/audio-feedback.js
Replays a recorded motion capture with the given avatar body parts
src/components/avatar-replay.js
Toggles the position of 2 bones into "on" and "off" positions to indicate mute state.
src/components/bone-mute-state-indicator.js
Scales an object to near-zero if the object is invisible. Useful for bones representing avatar body parts.
src/components/bone-visibility.js
Animates between poses based on networked pose state using an animation mixer.
src/components/hand-poses.js
Sets the networked hand pose state based on hand-pose events.
src/components/hand-poses.js
Provides access to the end effectors for IK.
src/components/ik-controller.js
Performs IK on a hip-rooted skeleton to align the hip, head and hands with camera and controller inputs.
src/components/ik-controller.js
Stores networked avatar state.
src/components/networked-avatar.js
Sets player info state, including avatar choice and display name.
src/components/player-info.js
Used on a avatar-rig to move the avatar to a random spawn point on entry.
src/components/spawn-controller.js
Registers a click handler and invokes the block method on the NAF adapter for the owner associated with its entity.
src/components/block-button.js
Toggles freezing of network traffic on the given event.
src/components/freeze-controller.js
Toggles the microphone on the current network connection based on the given events.
src/components/mute-mic.js
Limits networked interactables to a maximum number at any given time
src/components/networked-counter.js
Instantiates and plays a network video stream, setting the video as the source material for this entity.
src/components/networked-video-player.js
Spawns networked objects when grabbed.
src/components/super-spawner.js
Polls the Gamepad API for Cardboard Button input and emits cardboardbutton events.
src/components/cardboard-controls.js
Controls virtual cursor behavior in various modalities to affect teleportation, interatables and UI.
src/components/cursor-controller.js
Converts events from various 6DoF and 3DoF controllers into hand-pose events.
src/components/hand-controls2.js
Instantiates 2D virtual gamepads and emits associated events.
src/components/virtual-gamepad-controls.js
Converts WASD keyboard inputs to simulated analog inputs.
src/components/wasd-to-analog2d.js
Instantiates GLTF models as specified in a bundle JSON.
src/components/gltf-bundle.js
Loads a GLTF model, optionally recursively "inflates" the child nodes of a model into a-entities and sets allowed components on them if defined in the node's extras.
src/components/gltf-model-plus.js
Hides entities based on the scene's quality mode
src/components/hide-when-quality.js
Sets layer flags on the underlying Object3D
src/components/layers.js
For use in environment gltf bundles to set scene shadow properties.
src/components/scene-shadow.js
Marks an entity as a potential spawn point.
src/components/spawn-controller.js
Positions the HUD and toggles app mode based on where the user is looking
src/components/hud-controller.js
A button with an image, tooltip, and hover states.
src/components/icon-button.js
HUD panel for muting, freezing, and space bubble controls.
src/components/in-world-hud.js
A button with text
src/components/text-button.js
Toggles the visibility of this entity when the scene is frozen.
src/components/visible-while-frozen.js
Toggles the interactivity of a UI entity while the scene is frozen.
src/components/visible-while-frozen.js
Toggle visibility of an entity based on if the user is in vr mode or not
src/systems/app-mode.js
Toggle the isPlaying state of a component based on app mode
src/systems/app-mode.js
Represents an entity that can invade a personal space bubble
src/systems/personal-space-bubble.js
Represents a personal space bubble on an entity.
src/systems/personal-space-bubble.js