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

大约有 1,276 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0068 秒)

1071. 2D灯光与网格 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...性 示例代码如下: const { regClass, property } = Laya; @regClass() export class lightTest extends Laya.Script { declare owner: Laya.Sprite; @property({ type: Laya.Sprite }) light1: Laya.Sprite; @property({ type: Laya.Sprite }) mesh1: Laya.Sprite; @property({ type: Laya.Sprite }) mesh2: Laya....

来源: Laya3.0_文档 发布时间: 20251010

1072. 3d显示对象克隆体超出舞台不再显示的bug2.1.0.btea1 [ 45%]

...,功能单一,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { scene3d:Laya.Scene3D; sp:Laya.Sprite3D; sp2:Laya.Sprite3D; translateA = new Laya.Vector3(-0.05, 0, 0); translateD = new Laya.Vector3( 0.05, 0, 0); constructor() { super(...

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

1073. laya.resource.BaseTexture_API3.0 [ 45%]

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

1074. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 44%]

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

1075. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 44%]

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

1076. 鼠标交互-鼠标交互 [ 44%]

...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_示例 发布时间: 20260820

1077. laya.d3.math.native.ConchVector3_API3.0 [ 44%]

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

1078. laya.d3.core.MeshRenderer_API3.0 [ 44%]

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

1079. [LayaNative3]Laya3.28/9原生打包ISO视频播放闪退 [ 44%]

...import { VideoRuntimeBase } from "./VideoRuntime.generated";  @regClass() export class VideoRuntime extends VideoRuntimeBase {     onEnable(): void {         Laya.stage.on(Laya.Event.MOUSE_DOWN, () => {             //Laya.loader.load("resources/files/layaAir.mp4").then(() => {   ...

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

1080. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 44%]

...,功能单一,建议用脚本方式实现,比如子弹脚本。 */ 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