大约有 305 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0083 秒)
...lse,优先检测子对象,当有子对象被命中时,中断检测,获得命中目标。如果未命中任何子对象,最后再检测此对象;如果为true,则优先检测本对象,如果本对象没有被命中,直接中断检测,表示没有命中目标;如果本对象被...
来源: Laya3.0_api 发布时间: 20231115
...}): 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
...lse,优先检测子对象,当有子对象被命中时,中断检测,获得命中目标。如果未命中任何子对象,最后再检测此对象;如果为true,则优先检测本对象,如果本对象没有被命中,直接中断检测,表示没有命中目标;如果本对象被...
来源: Laya3.0_api 发布时间: 20231115
...获取自定义渲染场景的渲染目标。 Camera scene : *[read-only] 获得所属场景。 Node skyRenderer : SkyRenderer[read-only] 获取天空渲染器。 BaseCamera transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String[read-only] 获取资源的URL地址。 Spri...
来源: Laya2.0_api 发布时间: 20190513
...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:956 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...
来源: Laya3.0_api 发布时间: 20231102
...器的主要功能是计算每个像素片段的颜色,从顶点着色器获得颜色的差值,从纹理中采样出颜色数据。图11-1展示了模型采样纹理的着色结果。 (图11-1) 12.GLSL数据传递 12.1 应用处理阶段 模型在应用处理阶段被整合为基本片元(...
来源: Laya3.0_文档 发布时间: 20251010
...lse,优先检测子对象,当有子对象被命中时,中断检测,获得命中目标。如果未命中任何子对象,最后再检测此对象;如果为true,则优先检测本对象,如果本对象没有被命中,直接中断检测,表示没有命中目标;如果本对象被...
来源: Laya3.0_api 发布时间: 20231115
...lse,优先检测子对象,当有子对象被命中时,中断检测,获得命中目标。如果未命中任何子对象,最后再检测此对象;如果为true,则优先检测本对象,如果本对象没有被命中,直接中断检测,表示没有命中目标;如果本对象被...
来源: Laya3.0_api 发布时间: 20231115
... let _cylinder = _Scene3D.getChildByName("Cylinder"); //从圆柱对象上获得刚体碰撞器(对应Unity的刚体组件) let cyRigid = _cylinder.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; //创建圆柱体形状(通常与圆柱对象的大小保持一致) let cyShape = new Laya.C...
来源: Laya2.0_文档 发布时间: 20210715
...}): 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