大约有 424 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
...这个数据分发给各个渲染选项类? ts 用 getChildByName 返回类型出错 RayCastAll射线检测同一MeshColliderShape返回两个结果 socket监听 问题状态 最新活动: 2018-02-11 14:21 浏览: 3171 关注: 2 人 zxc1315 • 2018-02-11 11:41 服务端 没有问题 客户端是 ...
来源: Laya_社区 发布时间: 20180211
...opacity=0);opacity:0;width: 150px;height:60px;"; file.type ="file";//设置类型是file类型。 file.accept="image/png";//设置文件的格式为png; file.style.position ="absolute"; file.style.zIndex = 999; ``` 下面看下完整的代码: ```typescript class Main { private video:Laya.Video;...
来源: Laya2.0_文档 发布时间: 20210715
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...确认编码是不是正确的,那就另存为的时候选择一下编码类型。如下图所示。  这里提醒一下,有一些操作系统是没有Unicode编码的,那是因为windows后来系统升级后,旧系统的Unicode编码模式没有了。我们去选择**UTF-16 L...
来源: Laya2.0_文档 发布时间: 20210715
...m 'B' class A{ b:B; } 这种的,在生成js以后由于B只是表示类型,js是不需要的,所以上面的import就没了。 无法去掉的import主要是类似 new B, extends B, instanceof B, 以及静态成员访问B.stM 这种形式 例如上面的改成 b=new B() 就真的是...
来源: Laya_社区 发布时间: 20190730
...可选)高度。 type:String (default = repeat) — (可选)填充类型 repeat|repeat-x|repeat-y|no-repeat offset:Point (default = null) — (可选)贴图纹理偏移 ReturnsFillTextureCmdgetBounds()method public function getBounds(realSize:Boolean = false):Rectangle 获取位置...
来源: Laya2.0_api 发布时间: 20190513
...D骨骼动画(Spine、Skeleton)。 以上列出了可以创建的节点类型,下面就来介绍创建节点的方式,主要有两种:一种是创建的无父级关系的单独节点,即3D节点在Scene3D下,2D节点在Scene2D下;另一种是创建在某个节点下,作为其子节...
来源: Laya3.0_文档 发布时间: 20251011
...opacity=0);opacity:0;width: 150px;height:60px;"; file.type ="file";//设置类型是file类型。 file.accept="image/png";//设置文件的格式为png; file.style.position ="absolute"; file.style.zIndex = 999; 下面看下完整的代码: class Main { private video:Laya.Video; constructor() { /...
来源: Laya3.0_文档 发布时间: 20251010
...ight Clustering)技术的三维空间划分。该配置是一个 Vector3 类型的值,默认设置为 (12, 12, 12),分别代表 X、Y、Z 三个轴向的聚类数量。 在光照集群系统中,相机视锥体空间被划分为一个三维网格:X 和 Y 轴将视口均匀划分为多个矩...
来源: Laya3.0_文档 发布时间: 20251231
...可选)高度。 Default value type: string = "repeat" (可选)填充类型 repeat|repeat-x|repeat-y|no-repeat Default value offset: Point | null = null (可选)贴图纹理偏移 Default value color: string = null (可选)颜色 Returns FillTextureCmd | null getBounds getBounds(realSi...
来源: Laya3.0_api 发布时间: 20231115