UNPKG

@animech-public/playcanvas

Version:
2 lines (1 loc) 604 B
import{Color as t}from"../../../core/math/color.js";import{Vec4 as i}from"../../../core/math/vec4.js";import{BUTTON_TRANSITION_MODE_TINT as e}from"./constants.js";class s{constructor(){this.enabled=!0,this.active=!0,this.imageEntity=null,this.hitPadding=new i,this.transitionMode=e,this.hoverTint=new t(.75,.75,.75),this.pressedTint=new t(.5,.5,.5),this.inactiveTint=new t(.25,.25,.25),this.fadeDuration=0,this.hoverSpriteAsset=null,this.hoverSpriteFrame=0,this.pressedSpriteAsset=null,this.pressedSpriteFrame=0,this.inactiveSpriteAsset=null,this.inactiveSpriteFrame=0}}export{s as ButtonComponentData};