大约有 1,232 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0052 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/BaseTexture" BaseTexture Class BaseTexture BaseTexture 纹理的父类,抽象类,不允许实例。 Hierarchy Resource BaseTexture NativeRenderTexture2D RenderTexture2D RenderTexture T...
来源: Laya3.0_api 发布时间: 20231115
...t found Unity3d导出模型时 报错:LayaAir3D UnityPlugin prefab can't export You should check the texture file format add shader include file err, has add:Lighting.glsl,这个问题是什么,我就一句代码都会出现这个问题 Swift中接入其他都正常,但是在你们的conchCo...
来源: Laya_社区 发布时间: 20180715
...setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 export class Texture2dTest { private sprite3D:Laya.Sprite3D; private readonly AllPng:string[] = ["pic-001.png","output-06.png"]; private texture:Laya.Texture2D; private box; constructor(){ Laya3D.init(0, 0); Laya.stage.scaleMod...
来源: Laya_社区 发布时间: 20220815
...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Mouse { private txt: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.ali...
来源: Laya_示例 发布时间: 20241119
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Native/ConchVector3" ConchVector3 Class ConchVector3 Vector3 类用于创建三维向量。 Hierarchy ConchVector3 Implements IClone Index Constructors constructor Properties elements Forwa...
来源: Laya3.0_api 发布时间: 20231102
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/MeshRenderer" MeshRenderer Class MeshRenderer MeshRenderer 类用于网格渲染器。 Hierarchy BaseRender MeshRenderer SkinnedMeshRenderer Implements IBoundsCell Index Constructors constr...
来源: Laya3.0_api 发布时间: 20231115
...,功能单一,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private sMapRes = "remote/model/res/Conventional/map1.ls" private sBullRes = "remote/model/res/Con...
来源: Laya_社区 发布时间: 20200720
...* Author :Terry * Created: 2017-08-07 09:44:25 */ export class ProtoPool { private static _dic: Laya.Dictionary; public static PROTO_HEAD: string = "proto_Head"; public static PROTO_BINARY_REQUEST: string = "proto_BinaryRequest"; ...
来源: Laya_社区 发布时间: 20170807
...载代码示例如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已...
来源: Laya3.0_文档 发布时间: 20241014
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/RigidBody" RigidBody Class RigidBody 2D刚体,显示对象通过RigidBody和物理世界进行绑定,保持物理和显示对象之间的位置同步 物理世界的位置变化会自...
来源: Laya3.0_api 发布时间: 20231115