大约有 720 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)
Laya3.0_api(284) Laya2.0_api(154) laya_api(114) Laya_社区(84) Laya2.0_文档(47) Laya3.0_文档(35) Laya2.0_示例(1) Laya_示例(1)
... /** @prop {name:pos, tips:"模型位置", type:Vector,labels:"x,y,z"}*/ public pos: number = [0,30,0];脚本属性类型为Vector,如何给xyz赋上默认值呢 现在ide中显示的都是0,试了default属性没起作用 附件 : --> 2019-05-23 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190523
...; import laya.net.Loader; import laya.ui.Panel; import laya.utils.Handler; public class LayaAirDemo { public function LayaAirDemo() { Laya.init(600,600); Laya.stage.bgColor='#EEFFCC'; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded...
来源: Laya_社区 发布时间: 20170719
粒子动画一直报错uncaught shader error public static var vs:String = __INCLUDESTR__("files/Particle.vs"); public static var ps:String = __INCLUDESTR__("files/Particle.ps");这个2个值一直为null 2017-11-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20171127
...ames No Frames Script3DProperties | Methods Packagelaya.d3.componentClasspublic class Script3DInheritanceScript3D Component Object Script3D 类用于创建脚本的父类,该类为抽象类,不允许实例。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Prop...
来源: Laya2.0_api 发布时间: 20190513
...terialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class BlinnPhongMaterialInheritanceBlinnPhongMaterial BaseMaterial laya.resource.Resource BlinnPhongMaterial 类用于实现Blinn-Phong材质。 Public Properties Hide Inherited Public Properties Show Inherited Public ...
来源: Laya2.0_api 发布时间: 20190513
... Rigidbody3DProperties | Methods | Constants Packagelaya.d3.physicsClasspublic class Rigidbody3DInheritanceRigidbody3D PhysicsTriggerComponent PhysicsComponent Component Object Rigidbody3D 类用于创建刚体碰撞器。 Public Properties Hide Inherited Public Properties Show Inherited Public P...
来源: Laya2.0_api 发布时间: 20190513
... class NewScript extends Laya.Script { @property({ type: Laya.ViewStack }) public viewstack: Laya.ViewStack; @property({ type: Laya.Tab }) public tab: Laya.Tab; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //点击Tab选择...
来源: Laya3.0_文档 发布时间: 20231024
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/effect/ButtonEffect" ButtonEffect Class ButtonEffect script {name:ButtonEffect} author ww Hierarchy ButtonEffect Index Properties backEase effec...
来源: Laya3.0_api 发布时间: 20231115
...lass NewScript extends Laya.Script { @property({ type: Laya.ProgressBar }) public progressBar: Laya.ProgressBar; @property({ type: Laya.Text }) public loadText: Laya.Text; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.pro...
来源: Laya3.0_文档 发布时间: 20230921
...a.display.Sprite; import laya.display.Stage; public class Sprite_DrawShapes { private var sp:Sprite; public function Sprite_DrawShapes() { Laya.init(500, 300); ...
来源: Laya2.0_文档 发布时间: 20210715