大约有 1,125 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0062 秒)
Laya_社区(426) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya3.0_文档(35) Laya_示例(32) Laya2.0_示例(14)
...lobals "laya/d3/core/material/ExtendTerrainMaterial" ExtendTerrainMaterial Class ExtendTerrainMaterial ... author ... Hierarchy Material ExtendTerrainMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name renderQueue url uuid ALPHATESTVALUE DEBUG REND...
来源: Laya3.0_api 发布时间: 20231115
...age资源 以下为加载代码,请问这样使用是否正确: class ShuiPao extends Sprite3D { constructor() { super(); let mesh = Sprite3D.load('resources/shuipao.lh'); this.addChild(mesh); ...
来源: Laya_社区 发布时间: 20170608
...值会变化,iphone6第一次加载正确,刷新几次就变大了。 class GameMain{ public static pxTimes: number = Laya.Browser.height / Laya.Browser.clientHeight; constructor() { console.log('ch=' + Laya.Browser.clientHeight + ', h=' + Laya.Browser.height + ', p...
来源: Laya_社区 发布时间: 20170403
...3/core/particleShuriKen/ShurikenParticleMaterial" ShurikenParticleMaterial Class ShurikenParticleMaterial ShurikenParticleMaterial 类用于实现粒子材质。 Hierarchy Material ShurikenParticleMaterial Implements IClone Index Constructors constructor Properties _id destroyedImmediately lock name...
来源: Laya3.0_api 发布时间: 20231115
...tomMaterial.__super.call(this); this.setShaderName("CustomShader"); } Laya.class(CustomMaterial, "CustomMaterial", Laya.BaseMaterial); CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.prototype.getDiffuseTexture = function () { return this._getTexture(CustomMaterial.DIFFUSETEXTURE); } CustomMateria...
来源: Laya_社区 发布时间: 20170524
...,添加的代码如下: ... import Vector3 = Laya.Vector3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... private model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.A...
来源: Laya3.0_文档 发布时间: 20251010
...ted All Inherited Externals Only exported Menu Globals "laya/ui/Tree" Tree Class Tree Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 example package { import laya.ui.Tree; import laya.utils.Browser; import laya.utils.Handler; public class Tree_Example { public function...
来源: Laya3.0_api 发布时间: 20231115
...式去移动,但是角色在地上一动也不动的 export default class GameUI { //宣告場景 private scene: Laya.Scene3D; private camera: Laya.Camera; private directionlight: Laya.DirectionLight; private character: Laya.Sprite3D; private monster_character: Laya.Sprite3D; private translate...
来源: Laya_社区 发布时间: 20200917
...讯返回数据 下面是复制的代码,标“*”处为有问题。 class Game { private socket: Laya.Socket; private byte: Laya.Byte; constructor() { //初始化引擎 Laya.init(600, 400, Laya.WebGL); this.byte = new Laya.Byte(); //这里我们采用小端 this.byte.endian = Laya.Byte.LITTLE_...
来源: Laya_社区 发布时间: 20180211
...请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: class TextRender getFontSizeInfo 函数,最后部分 var xoff:int = Math.max( orix - pixelBBX[0], 0); var yoff:int = Math.max( oriy - pixelBBX[1], 0); var bbxw:int = pixelBBX[2] - pixelBBX[0]; var bbxh:int ...
来源: Laya_社区 发布时间: 20200108