aframetags: A-Frame Custom Elements

Description Usage Arguments Format Details Functions See Also Examples

Description

Functions to output A-Frame's custom HTML elements

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15

Arguments

...

Attributes, components, and/or child elements

primitive

Primitive name (excluding the "a-")

Format

The atags list contains all of these tag functions for convenient access.

Details

These functions are just simple wrappers for tag to output common A-Frame custom elements.

Functions

See Also

A-Frame Documentation

Examples

1
2
3
4
5
# Construct A-Frame HTML syntax for a 3D scene with a red box and blue sky
atags$scene(
  atags$box(color = "red", position = "0 0.5 -3"),
  atags$other("sky", color = "#89b6ff")
)

shinyaframe documentation built on May 2, 2019, 5:08 a.m.