大约有 1,546 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0055 秒)
Laya_社区(545) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(64) Laya2.0_示例(2)
...物理引擎碰撞被禁用的,需要重新开启 修改 laya.d3.js class PhysicsCollider extends PhysicsTriggerComponent { constructor(collisionGroup = Physics3DUtils.COLLISIONFILTERGROUP_DEFAULTFILTER, canCollideWith = Physics3DUtils.COLLISIONFILTERGROUP_ALLFILTER) { super(c...
来源: Laya_社区 发布时间: 20191017
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VSlider)。 ProgressBar 组件的资源示例:  (图1)  (图2) 设置 ProgressBar 组件的属性 value 的值为 0.3 后,显...
来源: Laya2.0_文档 发布时间: 20210715
...t.Socket; import laya.utils.Byte; public class CConnector extends Socket { protected var sendBuf:Byte = null; protected var recvBuf:Byte = null; public function CConnector() { ...
来源: Laya_社区 发布时间: 20170920
API DocumentationAll Packages | All Classes | Index | Frames No Frames ScriptProperties | Methods Packagelaya.componentsClasspublic class ScriptInheritanceScript Component Object Script 类用于创建脚本的父类,该类为抽象类,不允许实例。 组件的生命周期 Public Pro...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationPlayerProperties | Methods | Events Packagelaya.aniClasspublic class AnimationPlayerInheritanceAnimationPlayer EventDispatcher ObjectImplements laya.resource.IDestroy AnimationPlayer 类用于动画播放器。...
来源: Laya2.0_api 发布时间: 20190513
...vas; import laya.resource.Texture; import rain.core.StageReferance; public class Main { private var _view:Sprite; public function Main() { Config.isAntialias = true;//抗锯齿 //初始化引擎 Laya.init(1024, 768); //Stat.show(); Laya.stage.bgColor = "#ccc"; Laya.stage.scaleMode = Stage.SCALE_SHOW...
来源: Laya_社区 发布时间: 20180319
...rted Menu Globals "laya/d3/core/light/DirectionLightCom" DirectionLightCom Class DirectionLightCom DirectionLight 类用于创建平行光。 Hierarchy Light DirectionLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed en...
来源: Laya3.0_api 发布时间: 20231115
...据实际情况修改。有需要的可以参考下/* * 位图字体; */ class BPFont extends Laya.Sprite { // 文本内容 private _text: string; // 水平排列方式 private _align: string; // 资源前缀 private resFix: string; // 间距 private _padding: number; // 位图集合 private chars: ...
来源: Laya_社区 发布时间: 20180302
...s.iNum = 0; function myShaderSprite() { myShaderSprite.super(this); } Laya.class(myShaderSprite, "myShaderSprite", _super); /* 初始化此类 texture纹理对象 vb顶点数组 ib顶点索引数组 */ myShaderSprite.prototype.init = function(texture,width_Size,height_Size,vb,ib){ this.vBu...
来源: Laya_社区 发布时间: 20180619
...混排谷歌浏览器查看正常打包后的APP文字消失表情变大 class CAffiche { private textfiled:Laya.HTMLDivElement; public Reset():void { gRoomView.chatBox.innerHTML = ""; gRoomView.chatBox.height = 1; } public SysSay(txt:string):void { this.AddChat(0, "法官", txt); } public PlayerSay...
来源: Laya_社区 发布时间: 20170911