大约有 1,112 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0052 秒)
Laya_社区(423) Laya3.0_api(324) Laya2.0_api(157) laya_api(90) Laya2.0_文档(47) Laya_示例(32) Laya3.0_文档(25) Laya2.0_示例(14)
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
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
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
...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
...laya/d3/physics/constraints/ConfigurableConstraint" ConfigurableConstraint Class ConfigurableConstraint ConfigurableConstraint类用于可设置的约束组件 Hierarchy ConstraintComponent ConfigurableConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLin...
来源: Laya3.0_api 发布时间: 20231115
...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
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
...容相关的链接 提交 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
...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
....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