大约有 3,031 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(108)
...on, _quaternion, _position); pointLight.transform.position = _position; });class PointLightDemo { private scene: Laya.Scene; private _position: Laya.Vector3; private _quaternion: Laya.Quaternion; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screen...
来源: Laya_示例 发布时间: 20251209
...是实际显示是以文本宽度来显示的 示例代码export default class HtmlTest extends Laya.Sprite { constructor() { super(); this.init(); } init() { this.bg = new Laya.Sprite(); this.bg.graphics.drawRect(0, 0, 200, 200, '#ccc'); this.addChild(this.bg); this.htmlTxt = new Laya.HTMLDivElemen...
来源: Laya_社区 发布时间: 20210107
...: package { import laya.html.dom.HTMLIframeElement; public class LayaSample { public function LayaSample() { Laya.init(640,1136); var iframe = new HTMLIframeElement(); iframe.href = 'http://player.youku.com/...
来源: Laya_社区 发布时间: 20170213
...o就报这个错误。 Yangcy • 2018-08-03 11:45 /** @private **/ public class MiniFileMgr{ /**@private 读取文件操作接口**/ private static var fs:* = __JS__('wx.getFileSystemManager()'); /**@private 下载文件接口**/ private static var wxdown:* = __JS__('wx.downloadFile'); 这个类库...
来源: Laya_社区 发布时间: 20180725
API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimatorProperties | Methods | Constants Packagelaya.d3.componentClasspublic class AnimatorInheritanceAnimator Component Object Animator 类用于创建动画组件。 Public Properties Hide Inherited Public Properties ...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames TrailMaterialProperties | Methods | Constants Packagelaya.d3.core.trailClasspublic class TrailMaterialInheritanceTrailMaterial BaseMaterial laya.resource.Resource TrailMaterial 类用于实现拖尾材质。 Public Prop...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames EffectMaterialProperties | Methods | Constants Packagelaya.d3.core.materialClasspublic class EffectMaterialInheritanceEffectMaterial BaseMaterial laya.resource.Resource EffectMaterial 类用于实现Mesh特效材质。 ...
来源: Laya2.0_api 发布时间: 20190513
...用等)自动执行相应的方法。 使用示例如下: const { regClass } = Laya; @regClass() export class NewScript extends Laya.Script { //被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也会调用 onAdded(): void { console.log("Game onAdded"); } //组件被...
来源: Laya3.0_文档 发布时间: 20251010
...配符问题,还是不支持项目目录以外的源代码路径? <class path="${DOCUMENTS}/framework/src" /> 2017-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自:...
来源: Laya_社区 发布时间: 20171130
API DocumentationAll Packages | All Classes | Index | Frames No Frames PhysicsSimulationProperties | Methods Packagelaya.d3.physicsClasspublic class PhysicsSimulationInheritancePhysicsSimulation Object Simulation 类用于创建物理模拟器。 Public Properties PropertyDefined By con...
来源: Laya2.0_api 发布时间: 20190513