大约有 1,763 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
Laya_社区(623) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(85) Laya2.0_api(67) laya_api(64)
...3/component/Animator/AnimatorStateCondition" AnimatorStateTriggerCondition Class AnimatorStateTriggerCondition Hierarchy AnimatorStateCondition AnimatorStateTriggerCondition Index Constructors constructor Accessors id name type Methods checkState conditionIDToName conditionNameToID Constructors cons...
来源: Laya3.0_api 发布时间: 20231102
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。class Physics_Physics_CollisionEvent { constructor() { this.count = 7; this.bodys = []; this.touching = []; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya....
来源: Laya2.0_示例 发布时间: 20251209
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Clip) Clip 组件的资源示例:  (图1) 设置 clipX 属性的值为10后的显示效果:  (图2) 设置 index 属性...
来源: Laya2.0_文档 发布时间: 20210714
天空穹不显示 export default class GameUI extends Laya.Scene { constructor() { super(); //加载场景文件 this.loadScene("test/TestScene.scene"); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //添加照相机 var camera = (scene.addChild(new Laya.Camera(0, 0.1, 100)...
来源: Laya_社区 发布时间: 20200728
...文件夹npc,并且创建一个类。代码如下:module npc { export class BaseNPC extends Laya.Sprite { constructor() { super(); this.graphics.drawCircle(0, 0, 10, "#ff0000"); } } } 然后在我的主文件中import,并new出来。代码如下:import BaseNPC = npc.BaseNPC; var npcc:Base...
来源: Laya_社区 发布时间: 20180205
...r.window.conch.setFontFaceFromBuffer is not a function Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprit...
来源: Laya_社区 发布时间: 20180125
...ya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: string = "../../res/ui/button-7.png"; private clipSkin: string = "../../res/ui/num0-9.png"; private bgSkin: string = "../../res/ui/coutDown.png"; private counter: Clip; private currFrame: n...
来源: Laya_示例 发布时间: 20251209
...xternals Only exported Menu Globals "laya/display/css/TextStyle" TextStyle Class TextStyle 文本的样式类 Hierarchy TextStyle Index Constructors constructor Properties align bold color font fontSize italic leading strikethrough stroke strokeColor underline underlineColor valign Constructors cons...
来源: Laya3.0_api 发布时间: 20231115
...ya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_FixInteractiveRegion { private logger: Text; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Lay...
来源: Laya_示例 发布时间: 20251209
...------------------- import Shader = laya.webgl.shader.Shader; export class coolDownShader extends Shader { /** * 当前着色器的一个实例对象。 */ public static shader: coolDownShader = new coolDownShader(); constructor()...
来源: Laya_社区 发布时间: 20170606