大约有 1,535 项符合查询结果, 库内数据总量为 30,782 项。 (搜索耗时: 0.0066 秒)
Laya_社区(544) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(54) Laya2.0_示例(2)
...建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private arr: any; constructor() { super(); ...
来源: Laya_社区 发布时间: 20201120
...orld_BaseCollider 粘贴以下代码执行: //问题在 addSphere 方法 class PhysicsWorldBaseCollider{ constructor(){ //初始化引擎 Laya3D.init(0, 0); //设置画布模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.sta...
来源: Laya_社区 发布时间: 20191009
...herited Externals Only exported Menu Globals "laya/d3/core/UI3D/UI3D" UI3D Class UI3D BaseCamera 类用于创建摄像机的父类。 Hierarchy BaseRender UI3D Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge ...
来源: Laya3.0_api 发布时间: 20231115
...;<p>p</p><img src='res/boy.png'></img>"; */ export class HTMLDivElement extends Sprite { 下面我们通过一些示例代码来看看运行效果: 3.1 同一个文本中设置Bold、Font、FontSize、Color、下划线 【注意:目前不支持斜体、描边、span标签...
来源: Laya3.0_文档 发布时间: 20230303
...ited Externals Only exported Menu Globals "laya/d3/core/Sprite3D" Sprite3D Class Sprite3D Sprite3D 类用于实现3D精灵。 Hierarchy Node Sprite3D RenderableSprite3D BaseCamera LightSprite Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active acti...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames Vector3Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Vector3InheritanceVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By ...
来源: laya_api 发布时间: 20170929
...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
API DocumentationAll Packages | All Classes | Index | Frames No Frames TreeProperties | Methods | Events Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次...
来源: Laya2.0_api 发布时间: 20190513
...Only exported Menu Globals "laya/resource/RenderTexture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture RenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthStencilTexture...
来源: Laya3.0_api 发布时间: 20231115
...d Menu Globals "laya/resource/NativeRenderTexture2D" NativeRenderTexture2D Class NativeRenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture NativeRenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthSt...
来源: Laya3.0_api 发布时间: 20231115