大约有 177 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0060 秒)
...配模式规则,计算出适配宽高需要缩放的比例,然后通过transform的matrix(矩阵)来对画布缩放至逻辑分辨率范围内,再通过viewport与DPR机制缩放还原。 > 此处的适配设计原理,视频中会展开讲,本文最后会有视频链接 基于以上种...
来源: Laya2.0_文档 发布时间: 20210715
...容区域顶边之间的垂直距离(以像素为单位)。 Component transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite underline : Boolean 是否显示下划线。 Label underlineColo...
来源: laya_api 发布时间: 20170929
...区域顶边之间的垂直距离(以像素为单位)。 UIComponent transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite underline : Boolean是否显示下划线。Label underlineColor :...
来源: Laya2.0_api 发布时间: 20190513
...ate(); //添加预制体到场景中 this.scene.addChild( monkey ); monkey.transform.position = new Laya.Vector3(-28.9354,0.3,-63.20264); } ); } } 运行效果如动图3-9 (动图3-9) 四、预加载预制体 在开发过程中,我们会通过大量创建预制体的方式来实现各种功能...
来源: Laya3.0_文档 发布时间: 20241014
...ate(); //添加预制体到场景中 this.scene.addChild( monkey ); monkey.transform.position = new Laya.Vector3(-28.9354,0.3,-63.20264); } ); } } 运行效果如动图3-9 (动图3-9) 四、预加载预制体 在开发过程中,我们会通过大量创建预制体的方式来实现各种功能...
来源: Laya3.0_文档 发布时间: 20251105
...dMesh = mesh; render.sharedMaterial = this.batchMat; //随机位置 sprite.transform.localPosition = this._getRandomPosition(positionRanvge); //随机一个颜色索引 let colorIndex = Math.floor(Math.random() * this._colorNums); //设置节点的 Laya.ENodeCustomData.custom_0 为对应的颜色索...
来源: Laya3.0_文档 发布时间: 20251010
...区域顶边之间的垂直距离(以像素为单位)。 UIComponent transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite type : String 输入框类型为Input静态常量之一。 TYPE_TEXT T...
来源: Laya2.0_api 发布时间: 20190513
...容区域顶边之间的垂直距离(以像素为单位)。 Component transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite type : String 输入框类型为Input静态常量之一。 TYPE_TEXT ...
来源: laya_api 发布时间: 20170929
...区域顶边之间的垂直距离(以像素为单位)。 UIComponent transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite type : String 输入框类型为Input静态常量之一。 TYPE_TEXT...
来源: Laya2.0_api 发布时间: 20190513
...容区域顶边之间的垂直距离(以像素为单位)。 Component transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite type : String 输入框类型为Input静态常量之一。 TYPE_TEX...
来源: laya_api 发布时间: 20170929