-
Notifications
You must be signed in to change notification settings - Fork 2.5k
/
SortingGroup.bindings.cs
35 lines (30 loc) · 1.33 KB
/
SortingGroup.bindings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using UnityEngine.Bindings;
using UnityEngine.Scripting;
namespace UnityEngine.Rendering
{
[RequireComponent(typeof(Transform))]
[NativeType(Header = "Runtime/2D/Sorting/SortingGroup.h")]
public sealed partial class SortingGroup : Behaviour
{
[StaticAccessor("SortingGroup", StaticAccessorType.DoubleColon)]
internal extern static int invalidSortingGroupID { get; }
[StaticAccessor("SortingGroup", StaticAccessorType.DoubleColon)]
public extern static void UpdateAllSortingGroups();
[StaticAccessor("SortingGroup", StaticAccessorType.DoubleColon)]
internal extern static SortingGroup GetSortingGroupByIndex(int index);
public extern string sortingLayerName { get; set; }
public extern int sortingLayerID { get; set; }
public extern int sortingOrder { get; set; }
public extern bool sortAtRoot { get; set; }
internal extern int sortingGroupID { get; }
internal extern int sortingGroupOrder { get; }
internal extern int index { get; }
internal extern uint sortingKey { get; }
}
}