大约有 447 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0063 秒)
...n laya/ani/swf/MovieClip.ts:83 创建一个 MovieClip 实例。 Parameters Default value parentMovieClip: MovieClip = null 父MovieClip,自己创建时不需要传该参数 Returns MovieClip Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _...
来源: Laya3.0_api 发布时间: 20231115
...ned in laya/d3/core/Camera.ts:659 创建一个 Camera 实例。 Parameters Default value aspectRatio: number = 0 横纵比。 Default value nearPlane: number = 0.3 近裁面。 Default value farPlane: number = 1000 远裁面。 Returns WebXRCamera Properties _cacheDepth _cacheDepth: boolean Inherite...
来源: Laya3.0_api 发布时间: 20231115
...:177 切换Shader Parameters customShader: Shader3D replacementTag: string Default value subshaderIndex: number = 0 Returns void _renderUpdatePre _renderUpdatePre(context: RenderContext3D): void Defined in laya/d3/core/render/RenderElement.ts:225 pre update data Parameters context: RenderContext3D R...
来源: Laya3.0_api 发布时间: 20231115
...不影响事件的触发这里是随便取的名。 ```typescript export default class SceneScript extends Laya.Script3D { constructor(){ super(); //用于表现的方法 this.showMsgFunc = null; } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 ShowMsg() { co...
来源: Laya2.0_文档 发布时间: 20210715
...ned in laya/ani/bone/Skeleton.ts:121 创建一个Skeleton对象 Parameters Default value aniMode: number = 0 动画模式,0不支持换装,1、2支持换装 Returns Skeleton Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _...
来源: Laya3.0_api 发布时间: 20231115
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from AnimationBase.mous...
来源: Laya3.0_api 发布时间: 20231102
...路径。 callback: Handler 清单(json)文件加载完成后执行。 Default value type: number = 2 FOLDER_VERSION为基于文件夹管理方式(老版本IDE默认类型),FILENAME_VERSION为基于文件名映射管理(新版本IDE默认类型 Returns void Globals "laya/net/ResourceVers...
来源: Laya3.0_api 发布时间: 20231102
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from AnimationBase.mous...
来源: Laya3.0_api 发布时间: 20231102
...不影响事件的触发这里是随便取的名。 ```typescript export default class SceneScript extends Laya.Script3D { //用于表现的方法 public showMsgFunc; constructor(){ super(); } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 ShowMsg(){ console....
来源: Laya2.0_文档 发布时间: 20210715