大约有 276 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0072 秒)
...器的主要功能是计算每个像素片段的颜色,从顶点着色器获得颜色的差值,从纹理中采样出颜色数据。图11-1展示了模型采样纹理的着色结果。 (图11-1) 12.GLSL数据传递 12.1 应用处理阶段 模型在应用处理阶段被整合为基本片元(...
来源: Laya3.0_文档 发布时间: 20251010
...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...
来源: Laya3.0_api 发布时间: 20231115
...ity 2017.2.0f3 试验,发现在使用 Laya 的两个PBR材质,均不能获得光照信息,也就是颜色是很暗的颜色。BlinPhong材质中又设定Lighting的选项,设置为ON以后就亮了,在PBR材质中没有设置光的选项,可能是没有接受光照信息吧。另外这...
来源: Laya_社区 发布时间: 20170428
...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...
来源: Laya3.0_api 发布时间: 20231115
...baisc/Inspector/InspectorPanel.widget),然后在代码里通过getChild获得的Widget对象类型则自动为IEditor.InspectorPanel,然后可以通过上述的API(inspect等)进行填充。 类型和属性定义语法请参考文档。 上面的例子是通过手写类型定义实现,...
来源: Laya3.0_文档 发布时间: 20251010
...过代码设置运动刚体的方式: /* ……省略若干代码 */ //获得刚体碰撞器 this.rigidbody = this.cube1.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; //开启运动类型刚体 this.rigidbody.isKinematic = true; /* ……省略若干代码 */ 在LayaAir中设置运动类型...
来源: Laya3.0_文档 发布时间: 20251010