| Package | laya.d3.core.particleShuriKen.module |
| Class | public class TextureSheetAnimation |
| Inheritance | TextureSheetAnimation Object |
| Implements | laya.d3.core.IClone |
TextureSheetAnimation 类用于创建粒子帧动画。
| Property | Defined By | ||
|---|---|---|---|
| cycles : int 循环次数。 | TextureSheetAnimation | ||
| enable : Boolean 是否启用 | TextureSheetAnimation | ||
| enableUVChannels : int UV通道类型,0为Noting,1为Everything,待补充,暂不支持。 | TextureSheetAnimation | ||
| frame : FrameOverTime [read-only] 获取时间帧率。 | TextureSheetAnimation | ||
| randomRow : Boolean 是否随机行,type为1时有效。 | TextureSheetAnimation | ||
| startFrame : StartFrame [read-only] 获取开始帧率。 | TextureSheetAnimation | ||
| tiles : Vector2 纹理平铺。 | TextureSheetAnimation | ||
| type : int 类型,0为whole sheet、1为singal row。 | TextureSheetAnimation | ||
| Method | Defined By | ||
|---|---|---|---|
创建一个 TextureSheetAnimation 实例。
| TextureSheetAnimation | ||
clone():*
克隆。
| TextureSheetAnimation | ||
cloneTo(destObject:*):void
克隆。
| TextureSheetAnimation | ||
| cycles | property |
public var cycles:int循环次数。
| enable | property |
public var enable:Boolean是否启用
| enableUVChannels | property |
public var enableUVChannels:intUV通道类型,0为Noting,1为Everything,待补充,暂不支持。
| frame | property |
| randomRow | property |
public var randomRow:Boolean是否随机行,type为1时有效。
| startFrame | property |
startFrame:StartFrame [read-only] 获取开始帧率。
public function get startFrame():StartFrame| tiles | property |
public var tiles:Vector2纹理平铺。
| type | property |
public var type:int类型,0为whole sheet、1为singal row。
| TextureSheetAnimation | () | Constructor |
public function TextureSheetAnimation(frame:FrameOverTime, startFrame:StartFrame)
创建一个 TextureSheetAnimation 实例。
frame:FrameOverTime — 动画帧。
| |
startFrame:StartFrame — 开始帧。
|
| clone | () | method |
public function clone():*克隆。
Returns* — 克隆副本。
|
| cloneTo | () | method |
public function cloneTo(destObject:*):void克隆。
Parameters
destObject:* — 克隆源。
|