tk2dSpriteColliderDefinition Class Reference

Advanced collider definitions. More...

List of all members.

Public Attributes

Type type = Type.Box
 Type of collider.
Vector3 origin
 Origin of the collider relative to the sprite.
float angle
 Rotation angle of the collider. Meaningless on Circle shapes.

Properties

float Radius [get]
 The radius of a Circle collider.
Vector3 Size [get]
 The size of the box collider.

Detailed Description

Advanced collider definitions.


Member Data Documentation

Rotation angle of the collider. Meaningless on Circle shapes.

Origin of the collider relative to the sprite.

Type of collider.


Property Documentation

The radius of a Circle collider.

The size of the box collider.