大约有 760 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0075 秒)
...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //...
来源: Laya3.0_文档 发布时间: 20251010
... Packagelaya.d3.core.sceneClasspublic class BaseSceneInheritanceBaseScene Sprite Node EventDispatcher ObjectImplements ISubmitSubclasses Scene, VRScene BaseScene 类用于实现场景的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By...
来源: laya_api 发布时间: 20170422
...有下面几部分构成: 动画状态机组件 Animator Component :是Sprite3D上的一个组件,用来控制动画状态机的接口。 动画状态机文件 Animator Controller :是一个文件,用来执行整个状态机逻辑,驱动动画状态运行,执行状态切换。同时定...
来源: Laya3.0_文档 发布时间: 20251010
...lasspublic class ShuriKenParticle3DInheritanceShuriKenParticle3D RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object ShuriKenParticle3D 3D粒子。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身...
来源: laya_api 发布时间: 20170929
...请教一下 1.7.9beta咋还不能覆盖发布了? 如何动态的设定sprite的覆盖层级 关于list每个item下button.name互相覆盖的问题 IDE编辑器突然被边框菜单覆盖的解决方法 .ls加载会比.scene慢,导致.scene的UI被3d覆盖,应该如何让ui覆盖在3D上 3D...
来源: Laya_社区 发布时间: 20210701
...u 正文【不分功能和吐槽顺序,写随心生】: 1.mouseEnabled sprite我在原地画了个圆为什么只有右下区域能点击,明明设置了mouseEnabled=true,设置了size了呢?虽然官方的文档说明里有介绍,真心很多不细看的人压根不知道,也包括我...
来源: Laya_社区 发布时间: 20161109
...叠 要回复问题请先登录 发起人 vvv123 相关问题 如何设置Sprite的宽高和点击区域? 使用钢体设置防穿后仍有几率会穿透 龙骨skeleton鼠标点击区域的设置 anchor锚点设置不生效 list 每次滑动,都是可以滑动一点点,可不可以如何设...
来源: Laya_社区 发布时间: 20190531
...," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp: Laya.Sprite = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addChild(sp); } } new LayaUISample; ``` 通过data来当做url传递给loadImage这个方法引擎就会帮我们加载并解码显示出来。loadIma...
来源: Laya2.0_文档 发布时间: 20210715
...onstants Packagelaya.d3.core.sceneClasspublic class SceneInheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...
来源: laya_api 发布时间: 20170929
...言来创建项目。代码如下: ```java package { import laya.display.Sprite; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor ="#cccccc"; var data:String= "data:image/svg+xml,"+'' + '' + '' + 'I like ' + '' + 'cheese' + '' +...
来源: Laya2.0_文档 发布时间: 20210715