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

大约有 3,031 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0061 秒)

1831. 灯光-点光 [ 55%]

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

1832. HtmlDivElement宽度设置错误 [ 55%]

...是实际显示是以文本宽度来显示的 示例代码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

1833. 用HTMLIframeElement加载优酷视频报错 [ 55%]

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

1834. 微信小游戏,子域问题。 [ 55%]

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

1835. laya.d3.component.Animator [ 55%]

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

1836. laya.d3.core.trail.TrailMaterial [ 55%]

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

1837. laya.d3.core.material.EffectMaterial [ 55%]

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

1838. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 55%]

...用等)自动执行相应的方法。 使用示例如下: const { regClass } = Laya; @regClass() export class NewScript extends Laya.Script { //被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也会调用 onAdded(): void { console.log("Game onAdded"); } //组件被...

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

1839. 项目配置文件的第三方库目录设置 [ 55%]

...配符问题,还是不支持项目目录以外的源代码路径? <class path="${DOCUMENTS}/framework/src" /> 2017-11-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自:...

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

1840. laya.d3.physics.PhysicsSimulation [ 55%]

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