大约有 595 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
Laya_社区(200) Laya2.0_示例(114) Laya3.0_文档(99) Laya2.0_api(91) laya_api(48) Laya_示例(24) Laya2.0_文档(16) Laya3.0_api(3)
...png;base64, Retry to load: data:image/png;base64,xxxxxxxxxxxxxxxxxxx const PNG_LOADING = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxI...
来源: Laya_社区 发布时间: 20181031
...file:///data/data/com.vivo.vs/files/.game/854584523/1.0.10/js/GameLogic/UI/Const/TextTipUI.js (10) 10-13 17:31:18.111 6514-6514/com.vivo.vs I/chromium: [INFO:CONSOLE(216)] "Uncaught SyntaxError: Unexpected token =", source: file:///data/data/com.vivo.vs/files/.game/854584523/1.0.10/js/GameLogic/Obst...
来源: Laya_社区 发布时间: 20181013
...rst; export class JinBi extends ShuriKenParticle3D { constructor() { let material = ShurikenParticleMaterial.load("resources/Assets/ArtResources/Effects/Materials/Effect_yu_jinbi_xulie.lmat"); super(material); ...
来源: Laya_社区 发布时间: 20170605
...e; import Component = Laya.Component; import Nav2DAgent = Laya.Nav2DAgent; const { regClass, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标点击的位置 @property({ type: Laya.Sprite }) public hit: Sprite; private _temp: Sprite; private _allAgent...
来源: Laya3.0_文档 发布时间: 20251010
...l Classes | Index | Frames No Frames Matrix4x4Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Matrix4x4InheritanceMatrix4x4 ObjectImplements laya.d3.core.IClone Matrix4x4 类用于创建4x4矩阵。 Public Properties PropertyDefined By elements : Float32Array矩阵...
来源: laya_api 发布时间: 20170929
...择网页或者native两个平台 * @param dccurl dcc的服务器地址 */ constructor(dccurl:string, frw:new ()=>IGitFSFileIO|null, logger:ICheckLog=null) enableLog(b:boolean) /** * 初始化,下载必须信息 * @param headfile dcc根文件,这个文件作为入口,用来同步本地缓...
来源: Laya3.0_文档 发布时间: 20251010
...自定义的 UniformBuffer 来优化渲染性能。 脚本代码如下: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //共享材质,用于合批 public batchMat: Laya.Material; //颜色数目 private _colorNums = 20; //精灵数目 private _spriteNum...
来源: Laya3.0_文档 发布时间: 20251010
...显示摄像机添加了这个脚本。 (图6-2) 脚本的代码为: const { regClass, property } = Laya; @regClass() export class CameraMoveScript extends Laya.Script3D { /** @private */ protected _tempVector3: Laya.Vector3 = new Laya.Vector3(); protected lastMouseX: number = 0; protected las...
来源: Laya3.0_文档 发布时间: 20251010
... 示例代码如下: import { IndexRTBase } from "./IndexRT.generated"; const { regClass } = Laya; @regClass() export default class IndexRT extends IndexRTBase { onAwake(): void { //设置舞台设计宽高 Laya.stage.designWidth = 1080; Laya.stage.designHeight = 1920; //在引擎初始化之后...
来源: Laya3.0_文档 发布时间: 20251010
...着主角的移动,摄像机的位置也同步移动,代码如下: const { regClass, property } = Laya; @regClass() export default class CameraControll extends Laya.Script { @property( { type: Laya.Sprite3D } ) public target: Laya.Sprite3D; private camera: Laya.Camera; public distanceUp: numbe...
来源: Laya3.0_文档 发布时间: 20251010