大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0053 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/SpotLightCom" SpotLightCom Class SpotLightCom SpotLight 类用于创建聚光。 Hierarchy Light SpotLightCom Index Constructors c...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/constraints/FixedConstraint" FixedConstraint Class FixedConstraint Hierarchy ConstraintComponent FixedConstraint Index Constructors c...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/PhysicsTriggerComponent" PhysicsTriggerComponent Class PhysicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器...
来源: Laya3.0_api 发布时间: 20231115
...不对 private _agentTexture: any; private _agent:Laya.Sprite; public startDrag(dragCom: Laya.Sprite, touchID: number, sourceData?: any): void {let bounds = dragCom.getSelfBounds(); this._agentTexture = Laya.Sprite.drawToTexture(dragCom,Laya.SpriteConst.TEXTURE,bounds.width, bounds.height,...
来源: Laya_社区 发布时间: 20210911
...。 脚本类: ```typescript //重写脚本中的onUpdate方法 override public function onUpdate():void { var touchCount:int = _scene.input.touchCount(); if (1 === touchCount){ //判断是否为两指触控,撤去一根手指后引发的touchCount===1 if (isTwoTouch){ return; } _text.text = "...
来源: Laya2.0_文档 发布时间: 20210715
...称[]) * @type {Laya.Dictionary} * @memberof ResourcesModuleManager */ public static poolModulResDic: Laya.Dictionary = new Laya.Dictionary(); constructor() { } static gameLoading(name: string, onCompleted: Function): void { let uiResArray = [ { url: "res/atlas/common.json", type: Laya.Loader.ATLA...
来源: Laya_社区 发布时间: 20170905
...ndler.run(); return; } !_selected && (state = stateMap[e.type]); } public static function addDark(target:laya.display.Sprite, isDark:Boolean = true):void { if (isDark) { // laya.ui.UIUtils.addFilter(target, DARK); target.filters=[ new ColorFilter([0.7, 0, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 0, 0.7,...
来源: Laya_社区 发布时间: 20160802
...cript //该方法示例仅做参考,视项目情况自行修改或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "...
来源: Laya2.0_文档 发布时间: 20210715
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Volume/VolumetricGI/VolumetricGI" VolumetricGI Class VolumetricGI Hierarchy Volume VolumetricGI Index Constructors constructor Prop...
来源: Laya3.0_api 发布时间: 20231115
...aya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; public class RenderTextureDemo { private var scene:Scene; private var renderTargetCamera:Camera; private var layaPlane:Sprite3D; public function RenderTextureDemo() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCAL...
来源: Laya_示例 发布时间: 20260106