大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0059 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
...= "#232628"; setup(); })(); function setup() { createParagraph(); // 代码创建 showExternalHTML(); // 使用外部定义的html } function createParagraph() { var p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; var html = "使用"; html += "HTMLDi...
来源: Laya_示例 发布时间: 20250223
...nceCapsuleColliderShape ColliderShape Object CapsuleColliderShape 类用于创建胶囊形状碰撞器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By length : Number[read-only] 获取长度。 CapsuleColliderShape localOffset : Vector3 ...
来源: Laya2.0_api 发布时间: 20190513
...色滤镜,需要先设置一个颜色矩阵,然后用ColorFilter方法创建一个颜色滤镜实例,如下面的代码所示: ```java //颜色矩阵,红色 var colorMatrix = [ 1, 0, 0, 0, 0, //R 0, 0, 0, 0, 0, //G 0, 0, 0, 0, 0, //B 0, 0, 0, 1, 0, //A ]; //创建颜色滤镜 var redFilter...
来源: Laya2.0_文档 发布时间: 20210714
...InheritanceRand Object Rand 类用于通过32位无符号整型随机种子创建随机数。 Public Properties PropertyDefined By seed : uint 获取随机种子。 Rand seeds : Uint32Array获取随机种子。RandPublic Methods MethodDefined By Rand(seed:uint) 创建一个 Rand 实例...
来源: laya_api 发布时间: 20170929
...InheritanceRand Object Rand 类用于通过32位无符号整型随机种子创建随机数。 Public Properties PropertyDefined By seed : uint 获取随机种子。 Rand seeds : Uint32Array获取随机种子。RandPublic Methods MethodDefined By Rand(seed:uint) 创建一个 Rand 实例...
来源: Laya2.0_api 发布时间: 20190513
...aintInheritancePoint2PointConstraint Object Point2PointConstraint 类用于创建物理组件的父类。 Public Properties PropertyDefined By damping : NumberPoint2PointConstraint impulseClamp : NumberPoint2PointConstraint pivotInA : Vector3Point2PointConstraint pivotInB : Vector3Point...
来源: Laya2.0_api 发布时间: 20190513
...mation ObjectImplements laya.d3.core.IClone TextureSheetAnimation 类用于创建粒子帧动画。 Public Properties PropertyDefined By cycles : int循环次数。TextureSheetAnimation enable : Boolean是否启用TextureSheetAnimation enableUVChannels : intUV通道类型,0为Noting,1为Ev...
来源: laya_api 发布时间: 20170929
单选框组件(Radio)一、通过LayaAir IDE创建Radio组件1.1 创建Radio1.2 Radio属性1.3 脚本控制Radio二、通过代码创建Radio组件单选框组件(Radio) Radio继承自Button,它的很多属性也继承自Button,所以前面Button中介绍过的这里就不再过多讲...
来源: Laya3.0_文档 发布时间: 20240910
...ss SphereShapeInheritanceSphereShape BaseShape Object SphereShape 类用于创建球形粒子形状。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By emitFromShell : Boolean从外壳发射。SphereShape enable : Boolean是否启用。BaseS...
来源: laya_api 发布时间: 20170929
...ss SphereShapeInheritanceSphereShape BaseShape Object SphereShape 类用于创建球形粒子形状。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By emitFromShell : Boolean从外壳发射。SphereShape enable : Boolean是否启用。BaseS...
来源: Laya2.0_api 发布时间: 20190513