Socket
Socket
Sign inDemoInstall

aframe-text-sprite

Package Overview
Dependencies
157
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aframe-text-sprite

A wrapper for THREE.TextSprite.


Version published
Maintainers
1
Created

Readme

Source

aframe-text-sprite

A wrapper for THREE.TextSprite.

demo

Try it out!

dependencies

setup

npm

npm install SeregPie/aframe-three # to fix AFRAME.THREE issue
npm install aframe-text-sprite

es6

import 'aframe';
import 'aframe-text-sprite';

browser

<script src="https://aframe.io/releases/0.9.2/aframe.min.js"></script>
<script src="https://unpkg.com/@seregpie/three.text-texture"></script>
<script src="https://unpkg.com/@seregpie/three.text-sprite"></script>
<script src="https://unpkg.com/aframe-text-sprite"></script>

properties

propertytypedefault
align'string''center'
fillStyle'string''#fff'
fog'boolean'false
fontFamily'string''sans-serif'
fontSize'number'1
fontStyle'string''normal'
fontVariant'string''normal'
fontWeight'string''normal'
lineGap'number'0.15
opacity'number'1
padding'number'0.25
strokeStyle'string''#000'
strokeWidth'number'0
text'string'''
transparent'boolean'false

Keywords

FAQs

Last updated on 01 Oct 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc