• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 598 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0048 秒)

341. 要做一个方形倒计时,请问该怎么实现,不知道该怎么做 [ 66%]

...import laya.maths.Rectangle; public class CdSprite extends Sprite { public static const START:int = -90; public static const COLOR:String = "#000000"; private var r:Number = BarCell.WID / Math.SQRT2; private var rect:Rectangle = new Rectangle(0,0,BarCell.WID,BarCell.WID); private var pos:int = BarCe...

来源: Laya_社区 发布时间: 20171124

342. List表单renderHandler问题 [ 66%]

...返回创建的handler实例。          */         public static function create(caller:*, method:Function, args:Array = null, once:Boolean = true):Handler {             if (_pool.length) return _pool.pop().setTo(caller, method, args, once);             retur...

来源: Laya_社区 发布时间: 20180704

343. laya.d3.core.Sprite3D_API3.0 [ 66%]

...ce instantiate load Constructors constructor new Sprite3D(name?: string, isStatic?: boolean): Sprite3D Overrides Node.constructor Defined in laya/d3/core/Sprite3D.ts:142 创建一个 Sprite3D 实例。 Parameters Default value name: string = null 精灵名称。 Default value isStatic: boolean = fal...

来源: Laya3.0_api 发布时间: 20231115

344. laya.d3.math.Bounds_API3.0 [ 66%]

...小点。 Parameters value: Vector3 包围盒的最小点。 Returns void Static containPoint containPoint(box: Bounds, point: Vector3): boolean Defined in laya/d3/math/Bounds.ts:30 包围盒是否包含点 Parameters box: Bounds point: Vector3 Returns boolean Static merge merge(box1: Bounds, box2: ...

来源: Laya3.0_api 发布时间: 20231115

345. laya.ui.TipManager [ 65%]

...numChildren : int[read-only] 子对象数量。 Node  offsetX : int = 10[static] TipManager  offsetY : int = 15[static] TipManager parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为像素,默认为0。轴心点会影响对象位置,缩放中心,...

来源: Laya2.0_api 发布时间: 20190513

346. laya.components.Widget_API3.0 [ 65%]

...rited from Component.scriptPath Defined in laya/components/Component.ts:35 Static EMPTY EMPTY: Widget = null Defined in laya/components/Widget.ts:11 一个已初始化的 Widget 实例。 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:8...

来源: Laya3.0_api 发布时间: 20231115

347. Native(android)下创建二维码并显示在页面上 [ 65%]

...h, height);     }     // 以下android代码 // JSBridge.javapublic static String createQrCode(final String content, final double width, final double height) { Bitmap bitmap = createQRCodeBitmap(content, (int)width, (int)height, "UTF-8", "H", "1", Color.BLACK, Color.WHITE); if (null != bitmap...

来源: Laya_社区 发布时间: 20200729

348. laya.d3.component.volume.batchvolume.StaticInstanceBatchRender_API3.0 [ 65%]

...Externals Only exported Menu Globals "laya/d3/component/Volume/BatchVolume/StaticInstanceBatchRender" StaticInstanceBatchRender Class StaticInstanceBatchRender StaticInstanceBatchRender 类用于创建动作状态。 Hierarchy BatchRender StaticInstanceBatchRender Implements IBoundsCell Index Constr...

来源: Laya3.0_api 发布时间: 20231115

349. laya.ui.Widget_API3.0 [ 65%]

...rited from Component.scriptPath Defined in laya/components/Component.ts:35 Static EMPTY EMPTY: Widget = null Defined in laya/ui/Widget.ts:12 一个已初始化的 Widget 实例。 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Return...

来源: Laya3.0_api 发布时间: 20231102

350. laya.d3.core.particleshuriken.ShurikenParticleRenderer_API3.0 [ 65%]

...因,1表示lod淘汰 Parameters flag: number pass: boolean Returns void Static __init__ __init__(): void Inherited from PixelLineRenderer.__init__ Defined in laya/d3/core/render/BaseRender.ts:65 BaseRender Init Returns void Static changeVertexDefine changeVertexDefine(oldMesh: Mesh, mesh: Mesh, de...

来源: Laya3.0_api 发布时间: 20231115