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

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

1081. rigidBody.applyForce 物体不会移动 [ 31%]

...s.text = new Laya.Text(); this.text.overflow = Laya.Text.HIDDEN; this.text.color = "#FFFFFF"; this.text.font = "Impact"; this.text.fontSize = 24; this.text.x = (Laya.stage.width / 5) * 2; Laya.stage.addChild(this.text); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.onMouseDown); let building: Laya...

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

1082. laya.ui.ColorPicker [ 31%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ColorPickerProperties | Methods | Events Packagelaya.uiClasspublic class ColorPickerInheritanceColorPicker Component Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户...

来源: laya_api 发布时间: 20170929

1083. laya.d3.core.light.PointLight [ 31%]

...。 Sprite3D  attenuation : Vector3 获取点光的衰减。 PointLight color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 ...

来源: laya_api 发布时间: 20170929

1084. laya.d3.core.light.DirectionLight [ 31%]

...Hierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 ...

来源: laya_api 发布时间: 20170929

1085. laya.ui.ColorPicker [ 31%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames ColorPickerProperties | Methods | Events Packagelaya.uiClasspublic class ColorPickerInheritanceColorPicker UIComponent Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用...

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

1086. ShaderPass介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 31%]

...iump float; #endif uniform float u_OutlineLightness; uniform vec4 u_OutlineColor; void main() { vec3 finalColor = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.vs` 代码如下: ```c++ #includ...

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

1087. laya.d3.core.light.SpotLight [ 31%]

...。 Sprite3D  attenuation : Vector3 获取聚光的衰减。 SpotLight color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。 Sprite3D destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node diffuseColor : Vector3 获...

来源: laya_api 发布时间: 20170929

1088. 3D物理系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 30%]

...ponent(Laya.MeshRenderer).sharedMaterial as Laya.BlinnPhongMaterial).albedoColor = new Laya.Color(0.0, 1.0, 0.0, 1.0); /* ……省略若干代码 */ 4.4 使用异形物理射线 常规的物理射线是用一条射线来检测碰撞,LayaAir引擎中也提供了与物理射线检测类似的功能...

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

1089. 树状列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 29%]

...的特有属性如下图: (图1-12) 属性 功能说明 背景色 bgColor 背景颜色,勾选后可以直接输入颜色值,例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色。 子项模板 itemTemplate 渲染单元,具体用法已在1.2节的步骤中给出。 ...

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

1090. ShaderPass介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 29%]

...iump float; #endif uniform float u_OutlineLightness; uniform vec4 u_OutlineColor; void main() { vec3 finalColor = u_OutlineColor.rgb * u_OutlineLightness; gl_FragColor = vec4(finalColor,0.0); } ``` ##### 第二个Pass使用的着色器: 顶点着色器 `outline02.vs` 代码如下: ```c++ #includ...

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