// Copyright (c) 2012-2021 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. /// [EditorOrder(1040), EditorDisplay("Layers Matrix"), CustomEditor(typeof(FlaxEditor.CustomEditors.Dedicated.LayersMatrixEditor))] 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; } } } }