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

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

591. laya.d3.graphics.Vertex.VertexPositionTerrain [ 88%]

...lnormalpropertynormal:Vector3  [read-only] Implementation     public function get normal():Vector3positionproperty position:Vector3  [read-only] Implementation     public function get position():Vector3textureCoord0property textureCoord0:Vector2  [read-only] Implementation     pu...

来源: Laya2.0_api 发布时间: 20190513

592. Sprite-旋转缩放 [ 88%]

...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var ape; var scaleDelta = 0; (function() { // 不支持WebGL时自动切换至Canvas L...

来源: Laya_示例 发布时间: 20241002

593. 微信小游戏加载资源问题 [ 88%]

...分享一下呢? vvv123 • 2020-01-07 17:25 @星夜:window.wxMiniGame = function (exports, Laya) { 'use strict'; function DEB(str){ console.debug("[res]"+str); } class MiniFileMgr { static isLocalNativeFile(url) { for (var i = 0, sz = MiniAdpter.nativefiles.length; i < sz; i++) { if (u...

来源: Laya_社区 发布时间: 20200103

594. matter-RenderLaya问题——LayaRender.run is not a function [ 88%]

LayaAir引擎 matter-RenderLaya问题——LayaRender.run is not a function 我从官方复制的代码,可能是版本的问题,但是我又不知道对应哪个版本,有空帮我看一下谢谢了 附件 : --> FireBird.zip 2017-04-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

来源: Laya_社区 发布时间: 20170425

595. laya.display.Input [ 88%]

...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node  changeText(text:String):void[override] Input clearTimer(caller:*, method:Fun...

来源: Laya2.0_api 发布时间: 20190513

596. 示例 骨骼动画换装 加不上点击事件 [ 88%]

...指针要变成可点击的指针“小手的样子”,求大神解析 function parseComplete() { mArmature = mFactory.buildArmature(1); mArmature.x = mStartX; mArmature.y = mStartY; //mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature....

来源: Laya_社区 发布时间: 20170818

597. laya.d3.core.particleShuriKen.module.GradientDataVector2 [ 88%]

...t  [read-only] 二维向量渐变数量。 Implementation     public function get gradientCount():intConstructor DetailGradientDataVector2()Constructorpublic function GradientDataVector2() 创建一个 GradientDataVector2 实例。 Method Detailadd()method public function add(key:Number, value...

来源: laya_api 发布时间: 20170929

598. laya.d3.core.particleShuriKen.module.GradientDataVector2 [ 88%]

...t  [read-only] 二维向量渐变数量。 Implementation     public function get gradientCount():intConstructor DetailGradientDataVector2()Constructorpublic function GradientDataVector2() 创建一个 GradientDataVector2 实例。 Method Detailadd()method public function add(key:Number, value...

来源: Laya2.0_api 发布时间: 20190513

599. 提示LAYA核心库中找不到 Laya.__awaiter函数 [ 88%]

...回复 layabox小高 赞同来自: 您好,可以参照下这个方法。 function __awaiter(thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejecte...

来源: Laya_社区 发布时间: 20221104

600. laya.resource.Texture2D [ 88%]

...only] [override] 获取默认纹理资源。 Implementation     public function get defaulteTexture():BaseTexturegrayTextureproperty public static var grayTexture:Texture2D = null纯灰色纹理。mipmapCountproperty mipmapCount:int  [read-only] 获取mipmap数量。 Implementation     p...

来源: Laya2.0_api 发布时间: 20190513