大约有 1,839 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0053 秒)
Laya_社区(603) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya2.0_示例(68) Laya3.0_文档(53)
...:effectEase,type:ease, tips:"效果缓动类型"} effectScale effectScale: number = 1.5 Defined in laya/effect/ButtonEffect.ts:20 effectScale prop {name:effectScale,type:number, tips:"缩放值",default:"1.5"} tweenTime tweenTime: number = 300 Defined in laya/effect/ButtonEffect.ts:25 tweenTime prop...
来源: Laya3.0_api 发布时间: 20231115
...件。 Parameters value: boolean Returns void hideFlags get hideFlags(): number set hideFlags(value: number): void Inherited from Component.hideFlags Defined in laya/components/Component.ts:38 Returns number Inherited from Component.hideFlags Defined in laya/components/Component.ts:42 Parameters val...
来源: Laya3.0_api 发布时间: 20231115
... NativeShadowCullInfo Properties Static MemoryBlock_size MemoryBlock_size: number = 4 * 8 Defined in laya/d3/RenderObjs/NativeOBJ/NativeShadowCullInfo.ts:23 native Share Memory Accessors cullPlaneCount get cullPlaneCount(): number set cullPlaneCount(cullPlaneCount: number): void Defined in laya/d3/R...
来源: Laya3.0_api 发布时间: 20231115
....WebGL; export class ChangeSkin { private mAniPath:string; private mStartX:number = 400; private mStartY:number = 500; private mFactory:Templet; private mActionIndex:number = 0; private mCurrIndex:number = 0; private mArmature:Skeleton; private mCurrSkinIndex:number = 0; private mSkinList:any = ["go...
来源: Laya2.0_示例 发布时间: 20241119
...节叫扩展方法(Extension Method)。 一般的方法扩展,对Number类型添加thousandsSeperator: declare global { interface Number { thousandsSeperator(): String; } } Number.prototype.thousandsSeperator = function(): string { return Number(this).toString().replace(/\B(?=(\d{3})+(?...
来源: Laya_社区 发布时间: 20180622
...urveBlinnPhong extends Laya.BlinnPhongMaterial { public readonly MAIN_TEX: number = Laya.Shader3D.propertyNameToID("u_MainTex"); public readonly X_OFFSET: number = Laya.Shader3D.propertyNameToID("u_XOffset"); public readonly Y_OFFSET: number = Laya.Shader3D.propertyNameToID("u_YOffset"); public read...
来源: Laya_社区 发布时间: 20201009
... Index Properties LEFT NUM_PAD RIGHT STANDARD Properties Static LEFT LEFT: number = 1 Defined in laya/events/KeyLocation.ts:13 表示激活的键在左侧键位置(此键有多个可能的位置)。 Static NUM_PAD NUM_PAD: number = 3 Defined in laya/events/KeyLocation.ts:22 表示激活的键位...
来源: Laya3.0_api 发布时间: 20231115
...件。 Parameters value: boolean Returns void hideFlags get hideFlags(): number set hideFlags(value: number): void Inherited from Component.hideFlags Defined in laya/components/Component.ts:38 Returns number Inherited from Component.hideFlags Defined in laya/components/Component.ts:42 Parameters val...
来源: Laya3.0_api 发布时间: 20231115
...an Defined in laya/components/AnimatorTransition2D.ts:9 exitTime exitTime: number Defined in laya/components/AnimatorTransition2D.ts:8 mute mute: boolean Defined in laya/components/AnimatorTransition2D.ts:7 transduration transduration: number Defined in laya/components/AnimatorTransition2D.ts:11 tra...
来源: Laya3.0_api 发布时间: 20231115
... * @param alpha (可选)透明度。 */ drawTexture(tex: Texture, x?: number, y?: number, width?: number, height?: number, m?: Matrix, alpha?: number): Array<any>; 我是看drawTexture这么定义 ,里面不是有宽高吗。。。 wq • 2018-02-27 10:47 好吧 我知道了,是偏移...
来源: Laya_社区 发布时间: 20180226