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

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

831. laya.effect.ButtonEffect_API3.0 [ 83%]

...: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

832. laya.physics.joint.JointBase_API3.0 [ 83%]

...件。 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

833. laya.d3.renderobjs.nativeobj.NativeShadowCullInfo_API3.0 [ 83%]

... 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

834. 骨骼动画-换装 [ 83%]

....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

835. 如何用ts对引擎类进行方法扩展 [ 83%]

...节叫扩展方法(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

836. 一个简单的跑酷曲面shader分享 [ 83%]

...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

837. laya.events.KeyLocation_API3.0 [ 83%]

... 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

838. laya.d3.core.MeshFilter_API3.0 [ 83%]

...件。 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

839. laya.components.AnimatorTransition2D_API3.0 [ 83%]

...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

840. 新人求教!!! [ 83%]

... * @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