大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0075 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
... y?: number): Point Defined in laya/maths/Point.ts:16 根据指定坐标,创建一个新的 Point 对象。 Parameters Default value x: number = 0 (可选)水平坐标。 Default value y: number = 0 (可选)垂直坐标。 Returns Point Properties x x: number Defined in laya/maths/Point.ts...
来源: Laya3.0_api 发布时间: 20231115
...an随机方向。BaseShapePublic Methods MethodDefined By BaseShape() 创建一个 BaseShape 实例。 BaseShape clone():* 克隆。 BaseShape cloneTo(destObject:*):void 克隆。 BaseShape generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:...
来源: laya_api 发布时间: 20170929
...an随机方向。BaseShapePublic Methods MethodDefined By BaseShape() 创建一个 BaseShape 实例。 BaseShape clone():* 克隆。 BaseShape cloneTo(destObject:*):void 克隆。 BaseShape generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:...
来源: Laya2.0_api 发布时间: 20190513
...ic class ConeShapeInheritanceConeShape BaseShape Object ConeShape 类用于创建锥形粒子形状。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By angle : Number发射角度。ConeShape emitType : int发射类型,0为Base,1为BaseShel...
来源: laya_api 发布时间: 20170929
...ic class ConeShapeInheritanceConeShape BaseShape Object ConeShape 类用于创建锥形粒子形状。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By angle : Number发射角度。ConeShape emitType : int发射类型,0为Base,1为BaseShel...
来源: Laya2.0_api 发布时间: 20190513
# VScrollBar 组件参考 ## 一、通过LayaAirIDE创建VScrollBar 组件 ### 1.1 创建VScrollBar VScrollBar 组件是一个垂直方向滚动条组件。 当数据太多以至于显示区域无法容纳时,最终用户可以使用 VScrollBar 组件控制所显示的数据部分。 ...
来源: Laya2.0_文档 发布时间: 20210715
# HScrollBar 组件参考 ## 一、通过LayaAirIDE创建HScrollBar组件 ### 1.1创建HscrollBar HScrollBar 组件是一个水平方向滚动条组件。 当数据太多以至于显示区域无法容纳时,最终用户可以使用 HScrollBar 组件控制所显示的数据部分。 滚...
来源: Laya2.0_文档 发布时间: 20210714
多行输入文本组件(TextArea)1. LayaAir IDE中使用TextArea1.1 创建TextArea1.2 TextArea属性介绍1.3 脚本控制TextArea2. 通过代码创建TextArea多行输入文本组件(TextArea) 由于TextArea继承于TextInput,两者相同点太多这篇文章只介绍两者不同的地方,Tex...
来源: Laya3.0_文档 发布时间: 20240910
....stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; // 创建Video元素 let videoElement = Laya.Browser.createElement("video"); Laya.Browser.document.body.appendChild(videoElement); // 设置Video元素地样式和属性 videoElement.style.zIndex = Laya.Render.canvas.style.zInde...
来源: Laya2.0_示例 发布时间: 20250223
...ya/d3/math/MathUtils3D" MathUtils3D Class MathUtils3D MathUtils3D 类用于创建数学工具。 Hierarchy MathUtils3D Index Constructors constructor Properties Deg2Rad MaxValue MinValue zeroTolerance Methods fastInvSqrt isZero nearEqual Constructors constructor new MathUtils3D(): MathUtils3D Define...
来源: Laya3.0_api 发布时间: 20231102