aframe-troika-text
Advanced tools
Comparing version 0.9.0 to 0.10.0
{ | ||
"name": "aframe-troika-text", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"description": "An A-Frame component to render text using the Troika 3D text renderer ", | ||
@@ -15,6 +15,6 @@ "main": "dist/aframe-troika-text.js", | ||
"peerDependencies": { | ||
"aframe": "1.1.x - 1.3.x" | ||
"aframe": "1.1.x - 1.4.x" | ||
}, | ||
"devDependencies": { | ||
"aframe": "1.3.0", | ||
"aframe": "1.4.1", | ||
"rollup": "2.79.1", | ||
@@ -21,0 +21,0 @@ "rollup-plugin-node-resolve": "5.2.0", |
@@ -48,2 +48,8 @@ import aframe from 'aframe' | ||
color: {type: 'color', default: '#FFF'}, | ||
colorRanges: { // experimental | ||
type: 'string', | ||
default: null, | ||
parse: JSON.parse, | ||
stringify: JSON.stringify | ||
}, | ||
curveRadius: {type: 'number', default: 0}, | ||
@@ -125,2 +131,3 @@ depthOffset: {type: 'number', default: 0}, | ||
mesh.color = data.color | ||
mesh.colorRanges = data.colorRanges | ||
mesh.clipRect = data.clipRect | ||
@@ -127,0 +134,0 @@ mesh.curveRadius = data.curveRadius |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
859463
5943