Class CollisionData
- Namespace
- MoonBark.GridPlacement.Core.Data
- Assembly
- MoonBark.GridPlacement.Core.dll
Collision data for placeables
public class CollisionData
- Inheritance
-
CollisionData
- Inherited Members
Properties
Bounds
Collision bounds
public CoreRect2I Bounds { get; set; }
Property Value
- CoreRect2I
CollisionLayer
Layer mask for collision
public int CollisionLayer { get; set; }
Property Value
CollisionMask
Layer mask for what this collides with
public int CollisionMask { get; set; }
Property Value
CollisionShape
Collision shape type
public string CollisionShape { get; set; }
Property Value
HasCollision
Whether this placeable has collision
public bool HasCollision { get; set; }