大约有 784 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0054 秒)
Laya_社区(493) Laya3.0_api(119) Laya2.0_api(72) Laya2.0_文档(29) laya_api(24) Laya_示例(21) Laya3.0_文档(18) Laya2.0_示例(8)
... Administrator * */ public class Label extends laya.ui.Label { private var _textFormat:TextFormat; private var _txt:String; private var _lWidth:int; private var _lHeight:int; private var _lx:int; private var _ly:int; public function Label(text:String="") { super(text); } public function get textForm...
来源: Laya_社区 发布时间: 20170516
...cleTemplate2D Implements ISubmit Index Constructors constructor Properties _id destroyedImmediately lock name settings sv texture url uuid x y DEBUG activeBlendType Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeRef...
来源: Laya3.0_api 发布时间: 20231115
...效。let bgPath = "res/bg2.png", maskPath = "res/mask.png"; class Sprite_MagnifyingGlass { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV =...
来源: Laya2.0_示例 发布时间: 20240930
...ierarchy Light DirectionLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType shadowCascadesMode shadowDepthBias shadowDistance shadowFourCascadeSplits shado...
来源: Laya3.0_api 发布时间: 20231115
... ```typescript /* ……省略若干代码 */ //创建刚体碰撞器 let _rigidBody = sphere.addComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; //开启运动类型刚体 _rigidBody.isKinematic = true; /* ……省略若干代码 */ ``` 在Unity中设置运动类型刚体的方式,如图4所示...
来源: Laya2.0_文档 发布时间: 20210715
... QZONE 微信 jinghuhuilai 赞同来自: /Users/hezhenlong/Downloads/IMG_0594.JPG 2017-05-11 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jinghuhuilai 相关问题 [引擎优化]希望官方可以增加stencil功能 为什么有的...
来源: Laya_社区 发布时间: 20170511
... if (window.conch) { return this._nativeObj.getImageData(x, y, width, height); //this._nativeObj为空! } else { return this.getTexturePixels(x, y, width, height); ...
来源: Laya_社区 发布时间: 20220317
...sModel/hanbao.lh"); goldNode = this.scene_3d.addChild(sp); goldNode.transform.localPosition = new Laya.Vector3(this.startPos.x + (4.5 - Math.random() * 9), this.startPos.y, this.startPos.z + (2.5 - Math.random() * 5))...
来源: Laya_社区 发布时间: 20200326
...方(看不见的位置) 2019-08-09 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 从目前的描述看不出你的具体原因, 我猜测一下 是不是因为 laya是右手坐标系 unity是左手坐标系的原因?如果不是,请多再详细说一下,从这个片段的句...
来源: Laya_社区 发布时间: 20190809
...": "0", "left": "12", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name": "folder", "clipX": "1", "skin": "ui/clip_tree_folder.png", "clipY": "3"}}, {"type": "Label", "props": {"y": "1", "text": "...
来源: Laya_示例 发布时间: 20240930