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

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

361. laya.ani.swf.MovieClip [ 64%]

...ll) 创建一个 MovieClip 实例。 Parameters parentMovieClip:MovieClip (default = null) — 父MovieClip,自己创建时不需要传该参数 Method DetailaddLabel()method public function addLabel(label:String, index:int):void 增加一个标签到index帧上,播放到此index后会派发label...

来源: Laya2.0_api 发布时间: 20190513

362. laya.maths.Vector3_API3.0 [ 64%]

...qual fromArray length lengthSquared normalize scale set setValue toArray toDefault vadd vsub writeTo Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale subtract transformCoordinate transformQuat transformV3ToV3 t...

来源: Laya3.0_api 发布时间: 20231115

363. laya.d3.core.scene.bvhscenerendermanager.BVHRenderSpatial_API3.0 [ 63%]

...n laya/d3/core/scene/bvh/BVHSpatial.ts:32 创建BVH系统实例 Parameters Default value bvhConfig: BVHSpatialConfig = null Default value bvhManager: BVHSpatialManager = null Returns BVHRenderSpatial Accessors bvhSpatialBox get bvhSpatialBox(): BVHSpatialBox<IBoundsCell> Inherited from BVHSpat...

来源: Laya3.0_api 发布时间: 20231115

364. laya.d3.core.Transform3D_API3.0 [ 63%]

...。 Parameters target: Vector3 观察目标。 up: Vector3 向上向量。 Default value isLocal: boolean = false 是否局部空间。 Default value isCamera: boolean = true Returns void objLookat objLookat(target: Vector3, up: Vector3, isLocal?: boolean): void Defined in laya/d3/core/Transform3D.t...

来源: Laya3.0_api 发布时间: 20231115

365. laya.d3.math.Vector3_API3.0 [ 63%]

... dot fromArray length lengthSquared normalize scale set setValue toArray toDefault vadd vsub writeTo Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale subtract transformCoordinate transformQuat transformV3ToV3 t...

来源: Laya3.0_api 发布时间: 20231102

366. [LayaAir3]Laya3.3废弃了filters,如何设置sprite滤镜,添加PostProcess2D,再给Process添加ColorEffect2D也不生效 [ 63%]

...RenderNode)         spine.source = url;         spine.skinName = "default";         spine.play("idle", true);         spirit.postProcess = new Laya.PostProcess2D();         spirit.postProcess.addEffect(new Laya.GrayscaleEffect2D())     }) } 代码就是这样,沙盒环境...

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

367. laya.d3.core.VRCamera [ 63%]

...r = 1000) 创建一个 VRCamera 实例。 Parameters pupilDistande:Number (default = 0.1) — 左视口。  leftAspectRatio:Number (default = 0) — 右视口。  rightAspectRatio:Number (default = 0) — 瞳距。  nearPlane:Number (default = 0.3) — 视野。  farPlane:Number (default = 1000)...

来源: laya_api 发布时间: 20170929

368. 脚本化(TypeScript-IDE篇(TS)-脚本使用) [ 63%]

...上后,显示的鼠标提示,如果没有则使用name(可选) - default 输入框显示的默认值(可选) IDE默认提供了不少类型供脚本使用,主要参数类型如下: | 属性名称 | 说明 | | :---------- | :--------------------------------------- | | name | 属性显...

来源: Laya2.0_文档 发布时间: 20200603

369. 脚本组件的使用(TypeScript-2D进阶篇(TS)-扩展模块) [ 63%]

...上后,显示的鼠标提示,如果没有则使用name(可选) - default 输入框显示的默认值(可选) IDE默认提供了不少类型供脚本使用,主要参数类型如下: | 属性名称 | 说明 | | :---------- | :--------------------------------------- | | name | 属性显...

来源: Laya2.0_文档 发布时间: 20210714

370. laya.utils.Stat [ 63%]

...r = 0, y:Number = 0):void 显示性能统计信息。 Parameters x:Number (default = 0) — X轴显示位置。  y:Number (default = 0) — Y轴显示位置。 Fri Sep 29 2017, 06:34 PM +08:00

来源: laya_api 发布时间: 20170929