Properties
Optional
angle
angle?: number
Optional
autoPick
autoPick?: boolean
Optional
autoPickLimit
autoPickLimit?: number
Optional
content
content?: string
Optional
density
density?: number
Optional
excludeAutoPick
excludeAutoPick?: string[]
Optional
forceRotate
forceRotate?: number
Optional
forceX
forceX?: number
Optional
forceY
forceY?: number
Optional
friction
friction?: number
Optional
frictionAir
frictionAir?: number
Optional
gravity
gravity?: number
Optional
gravityPoint
gravityPoint?: [number, number]
Optional
imageSize
imageSize?: number
Optional
randomly
randomly?: boolean
Optional
restitution
restitution?: number
Optional
size2
size2?: number
Optional
sprite
sprite?: {
frame: number;
height: number;
width: number;
}
Type declaration
frame: number
height: number
width: number
Optional
src
src?: string | string[]
Optional
through
through?: boolean
Optional
useGravityPoint
useGravityPoint?: boolean
Optional
wind
wind?: number
Optional
xScale
xScale?: number
Optional
yScale
yScale?: number