Socket
Socket
Sign inDemoInstall

aframe-text-sprite

Package Overview
Dependencies
155
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.

dependencies

  • THREE.TextSprite

setup

npm

npm install SeregPie/aframe-three
npm install aframe-text-sprite

ES module

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

browser

<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
<script src="https://unpkg.com/three.texttexture"></script>
<script src="https://unpkg.com/three.textsprite"></script>
<script src="https://unpkg.com/aframe-text-sprite"></script>

properties

propertytypedefault
color'color'
fillStyle'string''White'
fog'boolean'false
fontFamily'string''sans-serif'
fontStyle'string''normal'
fontVariant'string''normal'
fontWeight'string''normal'
lineWidth'number'0
maxFontSize'number'Infinity
minFontSize'number'0
padding'number'0.25
redrawInterval'number'1
strokeStyle'string''Black'
text'string'''
textAlign'string''center'
textLineHeight'number'1.15
textSize'number'1

Keywords

FAQs

Last updated on 29 Nov 2018

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