resources

resources

This namespace describes strings that are valid inputs to the various native components. Some components can only take certain types of resources, i.e. n.n-spawner can only accept interactables.

Example

<a-entity n-object='res: architecture/ceiling-2w-2l'></a-entity>

Members

(static) architecture

Generic modular building pieces. All pieces are aligned to one corner, such that the piece extends out toward -X and +Z.

Properties:
Name Type Description
architecture/ceiling-2w-2l
architecture/ceiling-4w-4l
architecture/ceiling-4w-4l
architecture/ceiling-skylight-4w-4l
architecture/ceiling-skylight-corner-2w-2l
architecture/ceiling-skylight-edge-2w
architecture/ceiling-skylight-edge-4w
architecture/ceiling-skylight-filler-4w-4l-2
architecture/ceiling-skylight-filler-4w-4l
architecture/ceiling-slice-concave-2r
architecture/ceiling-slice-concave-4r
architecture/ceiling-slice-convex-2r
architecture/ceiling-slice-convex-4r
architecture/door-4w-4h
architecture/floor-2w-2l
architecture/floor-2w-4l
architecture/floor-4w-2l
architecture/floor-4w-4l
architecture/floor-slice-concave-2r
architecture/floor-slice-concave-4r
architecture/floor-slice-convex-2r
architecture/floor-slice-convex-4r
architecture/railing-2l
architecture/railing-4l
architecture/railing-curve-concave-2r
architecture/wall-2w-4h
architecture/wall-4w-4h
architecture/wall-base-2w
architecture/wall-base-4w
architecture/wall-base-curve-concave-2r
architecture/wall-base-curve-concave-4r
architecture/wall-base-curve-convex-2r
architecture/wall-base-curve-convex-4r
architecture/wall-bulkhead-2w
architecture/wall-bulkhead-4w
architecture/wall-bulkhead-curve-concave-2r
architecture/wall-bulkhead-curve-concave-4r
architecture/wall-bulkhead-curve-convex-2r
architecture/wall-bulkhead-curve-convex-4r
architecture/wall-curve-concave-2r-4h
architecture/wall-curve-concave-4r-4h
architecture/wall-curve-convex-2r-4h
architecture/wall-curve-convex-4r-4h
architecture/wall-curve-window-concave-4r-4h
architecture/wall-curve-window-concave-filler-4r-4h
architecture/wall-curve-window-gap-concave-4r-4h
architecture/wall-curve-window-gap-end-l-concave-4r-4h
architecture/wall-curve-window-gap-end-r-concave-4r-4h
architecture/wall-filler-corner-inner-4h
architecture/wall-filler-corner-outer-4h
architecture/wall-window-4w-4h
architecture/wall-window-filler-2
architecture/wall-window-gap-2w-4h
architecture/wall-window-gap-4w-4h
architecture/wall-window-gap-end-l-2w-4h
architecture/wall-window-gap-end-l-4w-4h
architecture/wall-window-gap-end-r-2w-4h
architecture/wall-window-gap-end-r-4w-4h

(static) effects

Particle systems and other native effects

Properties:
Name Type Description
effects/explosion

A particle system with a central flash, then debris flying outward. This is a non-looping effect.

effects/fire

An animated fire particle, suitable for a torch.

effects/fire-trail

Fire that trails the entity through space as it moves. Only is visible while an object is in motion

effects/fireworks

A compound particle system that shoots up from the entity, explodes into colored sparks, then transitions to gold streamers.

effects/smoke

Billowing smoke particle system.

effects/sparkler

Emits sparks in all directions

effects/steam

Small white steam rising upwards

(static) interactables

Objects that can be picked up, thrown, and otherwise interacted with.

Properties:
Name Type Description
interactables/basketball
interactables/bowlingball
interactables/bowling-pin
interactables/box
interactables/coin
interactables/gem
interactables/ring
interactables/soccerball

(static) objects

Static models that you can place in your scene.

Properties:
Name Type Description
objects/basketball-hoop
objects/coin
objects/cup
objects/gem
objects/hoop
objects/ring
objects/target-archery

(static) pipes

A selection of pipes/chutes/etc.

Properties:
Name Type Description
pipes/pipe-full-cap-1d
pipes/pipe-full-cross-1d
pipes/pipe-full-elbow-1d
pipes/pipe-full-fork-1d
pipes/pipe-full-straight-1d-1l
pipes/pipe-full-straight-1d-2l
pipes/pipe-full-straight-1d-4l
pipes/pipe-full-tee-1d
pipes/pipe-half-cap-1d
pipes/pipe-half-cross-1d
pipes/pipe-half-elbow-1d
pipes/pipe-half-fork-1d
pipes/pipe-half-straight-1d-1l
pipes/pipe-half-straight-1d-2l
pipes/pipe-half-straight-1d-4l
pipes/pipe-half-tee-1d

(static) sounds-effects

Effect sounds for a variety of use cases.

Properties:
Name Type Description
effects/fanfare-succeed

The "success!" sound from Holograms Against Humanity.

effects/fanfare-start

The "Game has started!" sound from HaH.

effects/fanfare-fail
effects/timer-10s

a 10 second timer that triggers a bell at exactly 10 seconds. The bell lasts for 2 seconds. This allows for timer length changes.

effects/gain-coin

(static) sounds-foley

Foley sounds are real sounds designed for tangible, touchable objects as they are heard in the real world.

Properties:
Name Type Description
foley/metal-scrape
foley/metal-clack
foley/metal-rattle
foley/coin-jingle
foley/paper-shuffle
foley/explode

(static) sounds-ui

Common UI sounds can be used for a consistent UI experience.

Properties:
Name Type Description
ui/select
ui/toggle
ui/notify
ui/error
ui/complete
ui/succeed
ui/over
ui/join
ui/click