Table of Contents

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

int

CollisionMask

Layer mask for what this collides with

public int CollisionMask { get; set; }

Property Value

int

CollisionShape

Collision shape type

public string CollisionShape { get; set; }

Property Value

string

HasCollision

Whether this placeable has collision

public bool HasCollision { get; set; }

Property Value

bool