大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0077 秒)
Laya_社区(1062) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(107)
....Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sprite_DisplayImage { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER...
来源: Laya_示例 发布时间: 20251219
API DocumentationAll Packages | All Classes | Index | Frames No Frames QuadtreeNodeProperties | Methods Packagelaya.d3.core.sceneClasspublic class QuadtreeNodeInheritanceQuadtreeNode ObjectImplements ITreeNodePublic Properties PropertyDefined By _children : Vector.<QuadtreeNode>Qu...
来源: laya_api 发布时间: 20170304
API DocumentationAll Packages | All Classes | Index | Frames No Frames BoundsOctreeMethods Packagelaya.d3.core.sceneClasspublic class BoundsOctreeInheritanceBoundsOctree Object BoundsOctree 类用于创建八叉树。 Public Methods MethodDefined By BoundsOctree(initialWorldSize:Number,...
来源: Laya2.0_api 发布时间: 20190513
...GGER_TIME = 1000, apePath = "res/apes/monkey2.png"; let isApeHold = false; class Interaction_Hold { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); La...
来源: Laya2.0_示例 发布时间: 20251219
...如下所示: ```typescript /* ImageRunTime逻辑类 */ export default class ImageRunTime extends Laya.Image{ public scaleTime:number = 100; constructor() { super(); //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(La...
来源: Laya2.0_文档 发布时间: 20210715
...。下面给出一个示例代码,实现脚本控制Image: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Image }) public img: Laya.Image; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件...
来源: Laya3.0_文档 发布时间: 20251010
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Label)。 Label 组件的资源示例:  (图1) Label组件拖放到编辑区后,设置 text 属性的值为 LayaAir IDE 后的显示效果如下: ![图片0....
来源: Laya2.0_文档 发布时间: 20210715
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1TangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1TangentInheritanceVertexPositionNormalTexture0Texture1Tangent ObjectImplements ...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames MeshRenderProperties | Methods Packagelaya.d3.coreClasspublic class MeshRenderInheritanceMeshRender BaseRender EventDispatcher ObjectSubclasses SkinnedMeshRender MeshRender 类用于网格渲染器。 Public Properties H...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames TerrainRenderProperties | Methods Packagelaya.d3.terrainClasspublic class TerrainRenderInheritanceTerrainRender BaseRender EventDispatcher Object MeshRender 类用于网格渲染器。 Public Properties Hide Inherited Pu...
来源: Laya2.0_api 发布时间: 20190513