• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 720 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)

351. 脚本属性类型为Vector如何赋 [ 64%]

... /** @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

352. 如何用代码控制panel的vscroll滚动幅度 [ 64%]

...; 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

353. 粒子动画一直报错uncaught shader error [ 64%]

粒子动画一直报错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

354. laya.d3.component.Script3D [ 64%]

...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

355. laya.d3.core.material.BlinnPhongMaterial [ 64%]

...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

356. laya.d3.physics.Rigidbody3D [ 64%]

... 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

357. 导航容器组件 · LayaAir3.0文档 · LAYABOX [ 64%]

... 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

358. laya.effect.ButtonEffect_API3.0 [ 64%]

...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

359. 进度条组件 · LayaAir3.0文档 · LAYABOX [ 64%]

...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

360. 绘制圆形与扇形(ActionScript-LayaAir基础篇(AS3)-矢量图) [ 63%]

...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