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

大约有 1,112 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0052 秒)

591. graphics绘制报错 [ 68%]

graphics绘制报错 class Sprite_DisplayImage { constructor() { Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); const path = "./res/apes/monkey2.png"; Laya.loader.load(path, Laya.Handler.create(this, function() { let tex = Laya.loader.getRes(path); let sp = new Laya.Spr...

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

592. laya.d3.core.material.PBRMaterial [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PBRMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class PBRMaterialInheritancePBRMaterial BaseMaterial laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inhe...

来源: laya_api 发布时间: 20170929

593. laya.d3.shadowMap.ParallelSplitShadowMap [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ParallelSplitShadowMapProperties | Methods Packagelaya.d3.shadowMapClasspublic class ParallelSplitShadowMapInheritanceParallelSplitShadowMap Object ... Public Properties PropertyDefined By  PSSMNum : intParallelSplitS...

来源: laya_api 发布时间: 20170929

594. 如何在游戏入口处获取对象的子对象 [ 68%]

...ap = (function (_super) { function loadMap() { loadMap.super(this); } Laya.class(loadMap,"loadMap",_super); var _proto = loadMap.prototype; _proto.init = function() { this.num = ""; this.map = new TiledMap(); } _proto.showMap = function(num) { this.num = num; this.map.createMap("map/level/mota_map" ...

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

595. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 68%]

...laya/d3/physics/constraints/ConfigurableConstraint" ConfigurableConstraint Class ConfigurableConstraint ConfigurableConstraint类用于可设置的约束组件 Hierarchy ConstraintComponent ConfigurableConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLin...

来源: Laya3.0_api 发布时间: 20231115

596. laya.display.cmd.DrawPieCmd_API3.0 [ 68%]

...ernals Only exported Menu Globals "laya/display/cmd/DrawPieCmd" DrawPieCmd Class DrawPieCmd 绘制扇形 Hierarchy DrawPieCmd Index Properties fillColor lineColor lineWidth radius x y ID Accessors endAngle startAngle Methods getBoundPoints recover Properties fillColor fillColor: any Defined in laya/...

来源: Laya3.0_api 发布时间: 20231115

597. laya.d3.core.scene.QuadtreeNode [ 68%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames QuadtreeNodeProperties | Methods Packagelaya.d3.core.sceneClasspublic class QuadtreeNodeInheritanceQuadtreeNode ObjectImplements ITreeNodePublic Properties PropertyDefined By  _children : Vector.<QuadtreeNode>Qu...

来源: laya_api 发布时间: 20170304

598. unity导出的场景.ls加载到laya3d中报错 [ 67%]

...容相关的链接 提交 6 个回复 fx_guo 赞同来自: 程序代码: class LayaAir3D { constructor() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 var scene = Laya.Sce...

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

599. laya.d3.math.Bounds_API3.0 [ 67%]

...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

600. 2.0版本可用的CameraMoveScript.ts [ 67%]

....0,跟示例里效果一样的文件:   /** * ... * @author */ export class CameraMoveScript extends Laya.Script {      /** @private */     protected _tempVector3: Laya.Vector3 = new Laya.Vector3();     protected lastMouseX: number;     protected lastMouseY: number;     pro...

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