大约有 2,053 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0102 秒)
...ht" DirectionLight Class DirectionLight deprecated DirectionLight 类用于创建平行光。 Hierarchy LightSprite DirectionLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hid...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya3.0_api 发布时间: 20231102
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya3.0_api 发布时间: 20231115
...ean Defined in laya/resource/Resource.ts:198 返回资源是否从指定url创建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off De...
来源: Laya3.0_api 发布时间: 20231115
...il/TrailRenderer" TrailRenderer Class TrailRenderer TrailRenderer 类用于创建拖尾渲染器。 Hierarchy BaseRender TrailRenderer Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors alignment awake...
来源: Laya3.0_api 发布时间: 20231115
...nder.constructor Defined in laya/d3/core/pixelLine/PixelLineRenderer.ts:33 创建一个PixelLineRenderer实例 Returns PixelLineRenderer Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 _receiveShadow _receiveShadow: boolea...
来源: Laya3.0_api 发布时间: 20231115
...ics3DUtils(): Physics3DUtils Defined in laya/d3/utils/Physics3DUtils.ts:45 创建一个 Physics 实例。 Returns Physics3DUtils Properties Static COLLISIONFILTERGROUP_ALLFILTER COLLISIONFILTERGROUP_ALLFILTER: number = -1 Defined in laya/d3/utils/Physics3DUtils.ts:42 所有过滤 Static COLLISIONFIL...
来源: Laya3.0_api 发布时间: 20231115
...形注册事件点击区域差异; 在原生Flash AS3中,Sprite精灵创建完成后会自动计算宽高。但是在layaAir引擎中,为了节约性能,默认Sprite精灵是没有宽高的,需要为Sprite设置一个碰撞区域,也就是hitArea 或 size。 **原生as3支持,但是...
来源: Laya2.0_文档 发布时间: 20191206
...形注册事件点击区域差异; 在原生Flash AS3中,Sprite精灵创建完成后会自动计算宽高。但是在layaAir引擎中,为了节约性能,默认Sprite精灵是没有宽高的,需要为Sprite设置一个碰撞区域,也就是hitArea 或 size。 **原生as3支持,但是...
来源: Laya2.0_文档 发布时间: 20210714
...lobals "laya/d3/shader/Shader3D" Shader3D Class Shader3D Shader3D 类用于创建Shader3D。 Hierarchy Shader3D Index Constructors constructor Properties PERIOD_CAMERA PERIOD_CUSTOM PERIOD_MATERIAL PERIOD_SCENE PERIOD_SPRITE RENDER_STATE_BLEND RENDER_STATE_BLEND_CONST_COLOR RENDER_STATE_BLEND_DST RE...
来源: Laya3.0_api 发布时间: 20231102