eva.js.transform
Home > @eva/eva.js > Transform
Transform class
Signature:declare class Transform extends Component<TransformParams>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
anchor | Vector2 | ||
children | Transform[] | ||
componentName | static | string | |
inScene | boolean | ||
name | string | ||
origin | Vector2 | ||
parent | Transform | ||
position | Vector2 | ||
rotation | number | ||
scale | Vector2 | ||
size | Size2 | ||
skew | Vector2 | ||
worldTransform | TransformMatrix |
Methods
Method | Modifiers | Description |
---|---|---|
addChild(child) | ||
clearChildren() | ||
init(params) | ||
removeChild(child) |