// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
using FlaxEngine;
namespace FlaxEditor.Content.Settings
{
partial class PhysicsSettings
{
///
/// The collision layers masks. Used to define layer-based collision detection.
///
#if FLAX_EDITOR
[EditorOrder(1040), EditorDisplay("Layers Matrix"), CustomEditor(typeof(CustomEditors.Dedicated.LayersMatrixEditor))]
#endif
public uint[] LayerMasks = new uint[32];
///
/// Initializes a new instance of the class.
///
public PhysicsSettings()
{
for (int i = 0; i < 32; i++)
{
LayerMasks[i] = uint.MaxValue;
}
}
}
}