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

大约有 447 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)

121. 预设/场景的导出(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 62%]

...能单一,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor(){ super(); //加载场景 Laya.Scene3D.load('LayaScene_test/Conventional/test.ls',Laya.Handler.create(this,this.onComplete)); } /** * 加载完成 */ private onCo...

来源: Laya2.0_文档 发布时间: 20210714

122. laya.d3.math.BoundSphere_API3.0 [ 62%]

...er radius Methods clone cloneTo intersectsRayDistance intersectsRayPoint toDefault createFromSubPoints createfromPoints Constructors constructor new BoundSphere(center?: Vector3, radius?: number): BoundSphere Defined in laya/d3/math/BoundSphere.ts:30 创建一个 BoundSphere 实例。 Parameters Def...

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

123. laya.map.TiledMap_API3.0 [ 62%]

...视口 Parameters width: number 新视口宽 height: number 新视口高 Default value rect: Rectangle = null 返回的结果 Returns Rectangle createMap createMap(mapName: string, viewRect: Rectangle, completeHandler: Handler, viewRectPadding?: Rectangle, gridSize?: Point, enableLinear?: boolean, l...

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

124. laya.d3.core.particleshuriken.module.shape.ConeShape_API3.0 [ 61%]

...eters position: Vector3 粒子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/ConeShape" ConeShape constructor angle emitType enable length radius randomDirecti...

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

125. laya.d3.core.BaseCamera_API3.0 [ 61%]

...aya/d3/core/BaseCamera.ts:307 创建一个 BaseCamera 实例。 Parameters Default value nearPlane: number = 0.3 近裁面。 Default value farPlane: number = 1000 远裁面。 Returns BaseCamera Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts...

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

126. laya.net.Socket_API3.0 [ 61%]

...尝试连接到指定的主机和端口。 see laya.utils.Byte Parameters Default value host: string | null = null 服务器地址。 Default value port: number = 0 服务器端口。 Default value byteClass: {} = null 用于接收和发送数据的 Byte 类。如果为 null ,则使用 Byte 类,...

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

127. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 61%]

...BUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defaultTexture depthStencilFormat depthStencilTexture destroyed dimension filterMode format gammaCorrection gammaSpace generateDepthTexture generateMipmap gpuMemory height id isCube maxMipmapLevel mipmap mipmapCount multiSamp...

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

128. [ts] 找不到名称“Laya” [ 61%]

...时候,报如下提示,貌似是找不到laya的支持包。 export default class HomeViews extends L编辑器也不自动提示laya的包 附件 : --> 2020-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

129. 如何拓展材质shader? [ 61%]

... 但在做材质属性拷贝的时候会出现不正确的结果   export default class LayaBlinnPhongExt extends Laya.BlinnPhongMaterial {     public CopyAttribute_ASKLaya(baseMat: Laya.BlinnPhongMaterial) {                var layaBlinnPhongExt:LayaBlinnPhongExt=this;       ...

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

130. laya.d3.renderobjs.nativeobj.NativeRenderOBJCreateUtil_API3.0 [ 61%]

...erOBJCreateUtil.ts:85 Parameters indexType: IndexFormat indexCount: number Default value bufferUsage: BufferUsage = BufferUsage.Static Default value canRead: boolean = false Returns IndexBuffer3D createInstanceRenderElement createInstanceRenderElement(): IRenderElement Implementation of IRenderOBJCr...

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