Rotorz Tile System Icon
Rotorz Tile System for Unity
API Reference
Available on the Unity Asset Store
TOC

ReduceColliderOptions Class

Options which are considered when reducing colliders.
[SerializableAttribute]
public sealed class ReduceColliderOptions
[SerializableAttribute]
public sealed class ReduceColliderOptions

Constructors

ReduceColliderOptions()
Initializes a new instance of the ReduceColliderOptions class

Methods

SetDefaults()
Restore default values.
SetFrom(ReduceColliderOptions)
Set option values from another options instance.

Properties

Active
Indicates whether colliders should be reduced when building tile system.
IncludeSolidTiles
Indicates if colliders should be added to tiles which are flagged as solid. This can help to further reduce the number of colliders.
KeepSeparate
Zero or more flags indicating which colliders should be kept separate.
SnapThreshold
Collider bounds are automatically snapped within given threshold upon reduction. Default is usually recommended but can be disabled with zero.
SolidTileColliderType
Indicates the type of collider to assume for tiles which are flagged as solid.

Inheritance Hierarchy

System.Object
  Rotorz.Tile.ReduceColliderOptions

See Also

Reference