| Package | laya.d3.core.particleShuriKen.module |
| Class | public class StartFrame |
| Inheritance | StartFrame Object |
| Implements | laya.d3.core.IClone |
StartFrame 类用于创建开始帧。
| Property | Defined By | ||
|---|---|---|---|
| constant : Number [read-only]
固定帧。
| StartFrame | ||
| constantMax : Number [read-only]
最大固定帧。
| StartFrame | ||
| constantMin : Number [read-only]
最小固定帧。
| StartFrame | ||
| type : int [read-only]
始帧类型,0常量模式,1随机双常量模式。
| StartFrame | ||
| Method | Defined By | ||
|---|---|---|---|
创建一个 StartFrame,不允许new,请使用静态创建函数。 实例。
| StartFrame | ||
clone():*
克隆。
| StartFrame | ||
cloneTo(destObject:*):void
克隆。
| StartFrame | ||
createByConstant(constant:Number):StartFrame [static]
通过随机常量旋转创建一个 StartFrame 实例。
| StartFrame | ||
createByRandomTwoConstant(constantMin:Number, constantMax:Number):StartFrame [static]
通过随机双常量旋转创建一个 StartFrame 实例。
| StartFrame | ||
| constant | property |
constant:Number [read-only] 固定帧。
public function get constant():Number| constantMax | property |
constantMax:Number [read-only] 最大固定帧。
public function get constantMax():Number| constantMin | property |
constantMin:Number [read-only] 最小固定帧。
public function get constantMin():Number| type | property |
type:int [read-only] 始帧类型,0常量模式,1随机双常量模式。
public function get type():int| StartFrame | () | Constructor |
public function StartFrame()
创建一个 StartFrame,不允许new,请使用静态创建函数。 实例。
| clone | () | method |
public function clone():*克隆。
Returns* — 克隆副本。
|
| cloneTo | () | method |
public function cloneTo(destObject:*):void克隆。
Parameters
destObject:* — 克隆源。
|
| createByConstant | () | method |
public static function createByConstant(constant:Number):StartFrame
通过随机常量旋转创建一个 StartFrame 实例。
Parameters
constant:Number — 固定帧。
|
StartFrame — 开始帧。
|
| createByRandomTwoConstant | () | method |
public static function createByRandomTwoConstant(constantMin:Number, constantMax:Number):StartFrame
通过随机双常量旋转创建一个 StartFrame 实例。
Parameters
constantMin:Number — 最小固定帧。
| |
constantMax:Number — 最大固定帧。
|
StartFrame — 开始帧。
|