大约有 1,764 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0060 秒)
Laya_社区(623) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(86) Laya2.0_api(67) laya_api(64)
...super) { function Panel1() { Panel1.super(this); //this.poke_a.x=0; } Laya.class(Panel1, "Panel1", _super); var _proto = Panel1.prototype; //======================================= //将指定的牌显示到桌面上 //======================================= _proto.start = function () { var tempRetu...
来源: Laya_社区 发布时间: 20180130
...建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private newScene:Laya.Scene3D; private boxA: Laya.MeshSprite3D; constructor() { super(); Laya3D.init(0, 0); Laya.stage.scaleMode = Laya....
来源: Laya_社区 发布时间: 20210103
...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.CharacterController))。 #### (1) 使用代码创建角色碰撞器 **插件目前暂不支持角色碰撞器导出,使用时需要使用代码创建。** 下面这段代码来自官方示例([demo...
来源: Laya2.0_文档 发布时间: 20210714
...lobals "laya/d3/physics/shape/CompoundColliderShape" CompoundColliderShape Class CompoundColliderShape CompoundColliderShape 类用于创建组合碰撞器。 Hierarchy ColliderShape CompoundColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEO...
来源: Laya3.0_api 发布时间: 20231115
...nherited Externals Only exported Menu Globals "laya/d3/math/Bounds" Bounds Class Bounds Bounds 类用于创建包围体。 Hierarchy Bounds Implements IClone Index Constructors constructor Accessors max min Methods calculateBoundsintersection clone cloneTo getBoundBox getCenter getCorners getExtent ...
来源: Laya3.0_api 发布时间: 20231115
...的遮罩时,设置Image的ScaleX为0时遮罩失效! // 程序入口 class GameMain{ constructor() { Laya.init(1280,720); Laya.loader.load([{url:"res/atlas/comp.json",type:Laya.Loader.ATLAS}],Laya.Handler.create(this,this.loaded,null)); } private loaded():void{ var img:Laya.Image = new Laya.Ima...
来源: Laya_社区 发布时间: 20170327
...!! simphen • 2018-03-09 16:33 我用了ani提示我[error] Undefined class: ani var appendHtml:HTMLDivElement=new HTMLDivElement(); appendHtml.innerHTML="aa==<ani src='res/1.png'></ani>"; Laya.stage.addChild(appendHtml); Laya_Aaron • 2018-03-09 18:34 你要用图集图...
来源: Laya_社区 发布时间: 20180309
...nly exported Menu Globals "laya/d3/graphics/VertexBuffer3D" VertexBuffer3D Class VertexBuffer3D 请使用LayaGL.RenderOBJCreate.createIndexBuffer3D来创建 VertexBuffer3D 类用于创建顶点缓冲。 Hierarchy VertexBuffer VertexBuffer3D NativeVertexBuffer3D Index Constructors constructor Propert...
来源: Laya3.0_api 发布时间: 20231115
...esource.Texture; import laya.utils.Browser; import laya.utils.Stat; public class LayaAirDemo { private var sp:Sprite ;//被截屏对象 private var htmlC:HTMLCanvas;//保存截屏后返回的HtmlCanvas对象 private var texture:Texture ;//texture实例,用于放置HtmlCanvas对象 private var coun...
来源: Laya_社区 发布时间: 20170822
...r :Terry * Created: 2017-08-07 09:44:25 */ export class ProtoPool { private static _dic: Laya.Dictionary; public static PROTO_HEAD: string = "proto_Head"; public static PROTO_BINARY_REQUEST: string = "proto_BinaryRequest"; publ...
来源: Laya_社区 发布时间: 20170807