大约有 1,873 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(617) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya3.0_文档(73) Laya2.0_示例(68)
...Path Defined in laya/components/Component.ts:35 sortingFudge sortingFudge: number Inherited from PixelLineRenderer.sortingFudge Defined in laya/d3/core/render/BaseRender.ts:158 排序矫正值。 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Compon...
来源: Laya3.0_api 发布时间: 20231115
...类用于创建球体。 Public Properties PropertyDefined By radius : Number 返回半径 SphereMesh slices : int 获取宽度分段 SphereMesh stacks : int 获取高度分段 SphereMeshPublic Methods MethodDefined By SphereMesh(radius:Number = 0.5, stacks:int = 32, slices:int = 32) ...
来源: laya_api 发布时间: 20170929
...ined in laya/html/HtmlImage.ts:18 Returns HtmlElement height get height(): number Defined in laya/html/HtmlImage.ts:26 Returns number width get width(): number Defined in laya/html/HtmlImage.ts:22 Returns number Methods create create(owner: Text, element: HtmlElement): void Implementation of IHtmlOb...
来源: Laya3.0_api 发布时间: 20231115
...tData unbind Constructors constructor new NativeVertexBuffer3D(byteLength: number, bufferUsage: BufferUsage, canRead?: boolean): NativeVertexBuffer3D Overrides VertexBuffer3D.constructor Defined in laya/d3/RenderObjs/NativeOBJ/NativeVertexBuffer3D.ts:44 创建一个 VertexBuffer3D 实例。 Paramete...
来源: Laya3.0_api 发布时间: 20231115
...Defined By center : Vector3包围球的中心。BoundSphere radius : Number包围球的半径。BoundSpherePublic Methods MethodDefined By BoundSphere(center:Vector3, radius:Number) 创建一个 BoundSphere 实例。 BoundSphere clone():* 克隆。 BoundSphere cloneTo(destObject:*):...
来源: Laya2.0_api 发布时间: 20190513
.../resource/Resource.ts:101 获取资源的UUID。 Readonly version version: number Inherited from PrefabImpl.version Defined in laya/resource/HierarchyResource.ts:8 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/resource/Resource.ts:18 Accessors cpuMemory get cpuMem...
来源: Laya3.0_api 发布时间: 20231102
...Class AnimatorStateCondition Hierarchy AnimatorStateCondition AnimatorStateNumberCondition AnimatorStateBoolCondition AnimatorStateTriggerCondition Index Constructors constructor Accessors id name type Methods checkState conditionIDToName conditionNameToID Constructors constructor new AnimatorStateC...
来源: Laya3.0_api 发布时间: 20231115
... */ declare var downloadBigFile:(url:string, local:string, onprog:(total:number,now:number,speed:number)=>boolean,oncomp:(curlret:number, httpret:number)=>void, trynum:number, opttimeout:number)=>void; 处理zip文件的ZipFile类。 interface ZipFile{ /** * 注意这个文件不要太大...
来源: Laya3.0_文档 发布时间: 20251010
...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并...
来源: laya_api 发布时间: 20170929
...Scale { //上次记录的两个触模点之间距离 private lastDistance: number = 0; private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CE...
来源: Laya2.0_示例 发布时间: 20260303