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

大约有 1,439 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0057 秒)

191. 文本-HTML文本 [ 78%]

...= "#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_示例 发布时间: 20240930

192. laya.d3.physics.shape.CapsuleColliderShape [ 78%]

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

193. 设置滤镜(JavaScript-LayaAir基础篇(JS)-位图) [ 78%]

...色滤镜,需要先设置一个颜色矩阵,然后用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

194. laya.d3.math.Rand [ 78%]

...InheritanceRand Object Rand 类用于通过32位无符号整型随机种子创建随机数。 Public Properties PropertyDefined By  seed : uint 获取随机种子。 Rand  seeds : Uint32Array获取随机种子。RandPublic Methods  MethodDefined By  Rand(seed:uint) 创建一个 Rand 实例...

来源: laya_api 发布时间: 20170929

195. laya.d3.math.Rand [ 78%]

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

196. laya.d3.physics.constraints.Point2PointConstraint [ 78%]

...aintInheritancePoint2PointConstraint Object Point2PointConstraint 类用于创建物理组件的父类。 Public Properties PropertyDefined By  damping : NumberPoint2PointConstraint  impulseClamp : NumberPoint2PointConstraint  pivotInA : Vector3Point2PointConstraint  pivotInB : Vector3Point...

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

197. 单选框组件 · LayaAir3.0文档 · LAYABOX [ 78%]

单选框组件(Radio)一、通过LayaAir IDE创建Radio组件1.1 创建Radio1.2 Radio属性1.3 脚本控制Radio二、通过代码创建Radio组件单选框组件(Radio) Radio继承自Button,它的很多属性也继承自Button,所以前面Button中介绍过的这里就不再过多讲...

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

198. laya.d3.core.particleShuriKen.module.TextureSheetAnimation [ 78%]

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

199. laya.d3.core.particleShuriKen.module.shape.SphereShape [ 78%]

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

200. laya.d3.core.particleShuriKen.module.shape.SphereShape [ 78%]

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