大约有 615 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0039 秒)
Laya3.0_api(274) laya_api(104) Laya2.0_api(97) Laya_社区(76) Laya2.0_文档(39) Laya3.0_文档(16) Laya2.0_示例(5) Laya_示例(4)
...为true,则动画被创建并添加到舞台后自动播放。 当前帧索引index 播放位置。 播放间隔interval 动画播放间隔,单位为毫秒,默认值为50毫秒。 循环 loop 循环播放,默认true 播放顺序模式 wrapmode 播放类型:默认为0是正序播放(POSIT...
来源: Laya3.0_文档 发布时间: 20251010
...vertical(垂直排列)和horizontal(水平排列)两种 选中项索引 selectedIndex 选择索引,默认为0。设置后,导航标签会保持选中状态。索引数量会根据labels数量(标签数量)动态改变 标签字体 labelFont 文本标签的字体 标签字体大小 la...
来源: Laya3.0_文档 发布时间: 20251010
... }) } function onSelect(index) { console.log("当前选择的索引:" + index); } function createAPIList(api_list_view) { let data = []; for (let i = 0; i < 10; i++) { let text_view = createTextView("12345", "black", 18, innerWidth, 35, "white"); ...
来源: Laya_社区 发布时间: 20180724
...dex(): number Defined in laya/ani/AnimationPlayer.ts:132 获取当前动画索引 Returns number value 当前动画索引 currentFrameTime get currentFrameTime(): number Defined in laya/ani/AnimationPlayer.ts:156 获取当前帧时间,不包括重播时间 Returns number value 当前时间 current...
来源: Laya3.0_api 发布时间: 20231115
...aderDefine.ts:8 创建一个宏定义的实例 Parameters index: number 宏索引 value: number 宏值 Returns ShaderDefine Globals "laya/d3/shader/ShaderDefine" ShaderDefine constructor Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Enumeration Interf...
来源: Laya3.0_api 发布时间: 20231102
...null只接收sourceTexture。 Default value subShader: number = 0 subShader索引,默认值为0。 Returns void blitScreenQuadByMaterial blitScreenQuadByMaterial(source: BaseTexture, dest: RenderTexture, offsetScale?: Vector4, material?: Material, subShader?: number): void Defined in laya/d3/core/re...
来源: Laya3.0_api 发布时间: 20231115
...dex: number): SubShader Defined in laya/d3/shader/Shader3D.ts:261 在特定索引获取子着色器。 Parameters index: number 索引。 Returns SubShader 子着色器。 Static add add(name: string, attributeMap?: any, uniformMap?: any, enableInstancing?: boolean, supportReflectionProbe?: boolean)...
来源: Laya3.0_api 发布时间: 20231102
...ndexCount(): number Defined in laya/d3/resource/models/SubMesh.ts:48 获取索引数量。 Returns number indexFormat get indexFormat(): IndexFormat set indexFormat(value: IndexFormat): void Inherited from GeometryElement.indexFormat Defined in laya/d3/core/GeometryElement.ts:77 Returns IndexFormat ...
来源: Laya3.0_api 发布时间: 20231115
...取当前的index,直接通过Skeleton类去获取 * @private * 得到帧索引 */ public function get index():int { return _index; }Skeleton继承自Sprite,可以通过getChildByName去获取当前动画的name名称 2016-09-23 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...
来源: Laya_社区 发布时间: 20160923
...找到listeners.clearForTarget完成移除 Delegate的remove方法就找错索引,index本来应该是4的倍数才对 Delegate里很多地方遍历都使用了findIndex和forEach,但参数是4个一组,这样不但降低了效率还增加出错率 本来是把索引3的值改成0,变成把...
来源: Laya_社区 发布时间: 20231016