agents defs from DB
This commit is contained in:
+4
-2
@@ -130,6 +130,7 @@ export class Threetobus{
|
||||
&& (typeof(tweenProps[tweenGroup].method)=='function')){
|
||||
tweenProps[tweenGroup].props.object = obj3D
|
||||
tweenProps[tweenGroup].props.delay = mapping.tweenDelay
|
||||
tweenProps[tweenGroup].props.easing = mapping.tweenEasing
|
||||
tweenProps[tweenGroup].method(tweenProps[tweenGroup].props)
|
||||
} // else { console.log('avoided tween', tweenGroup)}
|
||||
}
|
||||
@@ -262,11 +263,12 @@ export class Threetobus{
|
||||
// Relative: dx,dy,dz
|
||||
// delay: ms
|
||||
// easings: Linear, Quadratic, Cubic, Quartic, Quintic, Sinusoidal, Exponential, Circular, Elastic, Back, Bounce
|
||||
// easingMode: In → starts slow, accelerates towards the end.
|
||||
// easingMode: None (mandatory for 'Linear')
|
||||
// In → starts slow, accelerates towards the end.
|
||||
// Out → starts fast, decelerates smoothly.
|
||||
// InOut → slow at both ends, faster in the middle.
|
||||
options.easing = options.easing ? options.easing : 'Quadratic'
|
||||
options.easingMode = options.easingMode ? options.easingMode : 'InOut'
|
||||
options.easingMode = options.easingMode ? options.easingMode : ((options.easing !='Linear') ? 'InOut' : 'None')
|
||||
|
||||
let newX = parseFloat(options.x)
|
||||
newX = isNaN(newX) ? options.object.position.x : newX
|
||||
|
||||
Vendored
-1
@@ -772,7 +772,6 @@ label[secondary],p[secondary],b[secondary],span[secondary] { color: var(--eicui-
|
||||
|
||||
[eicapp] h1 {
|
||||
font: normal normal 400 2rem/2.5rem arial,sans-serif;
|
||||
border-bottom: 1px solid var(--eicui-base-color-grey-75);
|
||||
color: var(--eicui-base-color-primary-100);
|
||||
font-size: var(--eicui-base-font-size-4xl);
|
||||
margin: var(--eicui-base-font-size-3xl) 0 var(--eicui-base-font-size-2xl);
|
||||
|
||||
Reference in New Issue
Block a user