aframetags {shinyaframe}R Documentation

A-Frame Custom Elements

Description

Functions to output A-Frame's custom HTML elements

Usage

aframeScene(...)

aframeAssets(...)

aframeMixin(...)

aframeEntity(...)

aframeSphere(...)

aframeBox(...)

aframePrimitive(primitive = "entity", ...)

atags

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

# 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")
)


[Package shinyaframe version 1.0.1 Index]