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

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

101. 灯光-聚光 [ 74%]

.../聚光灯 var spotLight = scene.addChild(new Laya.SpotLight()); spotLight.color = new Laya.Vector3(1, 1, 0); spotLight.transform.position = new Laya.Vector3(0.0, 1.2, 0.0); spotLight.direction = new Laya.Vector3(0.15, -1.0, 0.0); spotLight.attenuation = new Laya.Vector3(0.0, 0.0, 0.8); spotLight.ra...

来源: Laya_示例 发布时间: 20250222

102. 动画-新版骨骼动画 [ 74%]

...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var plane = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zombie/new/Plane.lh")); var zombie = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/Zom...

来源: Laya_示例 发布时间: 20250222

103. laya.display.css.TextStyle_API3.0 [ 74%]

... Hierarchy TextStyle Index Constructors constructor Properties align bold color font fontSize italic leading strikethrough stroke strokeColor underline underlineColor valign Constructors constructor new TextStyle(): TextStyle Defined in laya/display/css/TextStyle.ts:53 Returns TextStyle Properties a...

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

104. 材质-BlinnPhong-反射贴图 [ 74%]

...; directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); var textureCube = Laya.TextureCube.load("../../res/threeDimen/skyBox/skyBox1/skyCube.ltc"); var skyBox = new Laya.SkyBox(); skyBox.textureCube = textureCube; camera.sky = skyBox; var teapot1...

来源: Laya_示例 发布时间: 20250222

105. Label属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 74%]

...| -------------------------------- | | text | 文本内容字符串。 | | color | 文本的颜色值。默认为黑色。 | | bold | 文本是否为粗体字显示。 | | font | 文本的字体名称。 | | fontSize | 文本的字体大小。 | | align | 文本的水平对齐方式。可选值有le...

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

106. 2D节点使用3D · LayaAir3.3 · 引擎文档 · LAYABOX [ 74%]

...h:渲染纹理的像素宽度。 Height:渲染纹理的像素高度。 Color Format:渲染纹理的颜色格式。 Depth Format:渲染纹理的深度格式。 Generate Mipmap:如果勾选了,则自动生成多级渐进纹理级别。 Multi Samples:多重采样。 sRGB:此渲染纹理...

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

107. 2D网格渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 74%]

...tDirection: {type: Vector2, default:[1,1]}, // 渐变方向 u_gradientStartColor: {type:Vector4, default:[1,1,1,1]}, // 渐变起始颜色 u_gradientEndColor: {type:Vector4, default:[1,1,1,1]} // 渐变结束颜色 }, attributeMap: { a_position: Vector4, a_color: Vector4, a_uv: Vector2, }, defines: ...

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

108. 【LIST无法拖动】参照官方实例做的 [ 74%]

...hangbang.y -= (paihangbang.fontSize + 20);         paihangbang.color="#ffffff";                   list.addChild(paihangbang);                  // 使用但隐藏滚动条         list.vScrollBarSkin = "";         list.selectEnable = t...

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

109. 3D阴影无法渲染出来 [ 74%]

...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, 0); directionLight.shadow = true; directionLight.shadowDistance = 3; directionLight.shadowResolution = 2048; directionLight.shadowPSS...

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

110. laya.filters.ColorFilter_API3.0 [ 74%]

...Protected All Inherited Externals Only exported Menu Globals "laya/filters/ColorFilter" ColorFilter Class ColorFilter ColorFilter 是颜色滤镜。使用 ColorFilter 类可以将 4 x 5 矩阵转换应用于输入图像上的每个像素的 RGBA 颜色和 Alpha 值,以生成具有一组新的 RGBA...

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