大约有 72 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0238 秒)
...y BoundSphere Implements IClone Index Constructors constructor Properties _center _radius Accessors center radius Methods clone cloneTo intersectsRayDistance intersectsRayPoint toDefault createFromSubPoints createfromPoints Constructors constructor new BoundSphere(center?: Vector3, radius?: number):...
来源: Laya3.0_api 发布时间: 20231115
...phere 类用于创建包围球。 Public Properties PropertyDefined By center : Vector3包围球的中心。BoundSphere radius : Number包围球的半径。BoundSpherePublic Methods MethodDefined By BoundSphere(center:Vector3, radius:Number) 创建一个 BoundSphere 实例。 BoundSphere...
来源: laya_api 发布时间: 20170929
...phere 类用于创建包围球。 Public Properties PropertyDefined By center : Vector3包围球的中心。BoundSphere radius : Number包围球的半径。BoundSpherePublic Methods MethodDefined By BoundSphere(center:Vector3, radius:Number) 创建一个 BoundSphere 实例。 BoundSphere...
来源: Laya2.0_api 发布时间: 20190513
...); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } createCantralRect() { const Sprite = Laya.Sprite; this.rect = new Sprite(); this.rect.graphics.drawRect(-100, -10...
来源: Laya2.0_示例 发布时间: 20260929
...文件。 适配 (Fit Mode): 选择图片的显示适配模式。 居中 (Center): 保持原图大小居中显示。 缩放 (Contain): 保持宽高比缩放,确保图片完整显示在屏幕内。 覆盖 (Cover): 保持宽高比缩放,填充整个屏幕(可能会裁剪边缘)。 拉伸 (Fill...
来源: Laya3.0_文档 发布时间: 20251128
...rix4x4, testVisible:Boolean, flags:int, scene:Scene):voidITreeNode init(center:Vector3, treeSize:Vector3):voidITreeNode removeObject(object:BaseRender):BooleanITreeNode renderBoudingBox(linePhasor:PhasorSpriter3D):voidITreeNode updateObject(object:BaseRender):voidITreeNodeMethod Detailad...
来源: laya_api 发布时间: 20170929
...keTextCmd textAlign : String 文本对齐方式,可选值:"left","center","right"。 StrokeTextCmd x : Number 开始绘制文本的 x 坐标位置(相对于画布)。 StrokeTextCmd y : Number 开始绘制文本的 y 坐标位置(相对于画布)。 StrokeTextCmdPublic Method...
来源: Laya2.0_api 发布时间: 20190513
...boundSphere : BoundSphere[read-only] 获取包围球。 SphereCollider center : Vector3 获取中心点。 SphereCollider destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component...
来源: laya_api 发布时间: 20170929
...erTextCmd textAlign : String 文本对齐方式,可选值:"left","center","right"。 FillBorderTextCmd x : Number 开始绘制文本的 x 坐标位置(相对于画布)。 FillBorderTextCmd y : Number 开始绘制文本的 y 坐标位置(相对于画布)。 FillBorderTextCmdP...
来源: Laya2.0_api 发布时间: 20190513
...Index Constructors constructor Properties max min Methods clone cloneTo getCenter getCorners getExtent setCenterAndExtent toDefault createfromPoints merge Constructors constructor new BoundBox(min: Vector3, max: Vector3): BoundBox Defined in laya/d3/math/BoundBox.ts:17 创建一个 BoundBox 实例...
来源: Laya3.0_api 发布时间: 20231115