| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- using System.Runtime.CompilerServices;
- using BansheeEngine;
- namespace BansheeEditor
- {
- public sealed class Selection
- {
- public static SceneObject[] sceneObjects
- {
- get
- {
- SceneObject[] selection;
- Internal_GetSceneObjectSelection(out selection);
- return selection;
- }
- set
- {
- Internal_SetSceneObjectSelection(value);
- }
- }
- public static string[] resourceUUIDs
- {
- get
- {
- string[] selection;
- Internal_GetResourceUUIDSelection(out selection);
- return selection;
- }
- set
- {
- Internal_SetResourceUUIDSelection(value);
- }
- }
- public static string[] resourcePaths
- {
- get
- {
- string[] selection;
- Internal_GetResourcePathSelection(out selection);
- return selection;
- }
- set
- {
- Internal_SetResourcePathSelection(value);
- }
- }
- [MethodImpl(MethodImplOptions.InternalCall)]
- internal static extern void Internal_GetSceneObjectSelection(out SceneObject[] selection);
- [MethodImpl(MethodImplOptions.InternalCall)]
- internal static extern void Internal_SetSceneObjectSelection(SceneObject[] selection);
- [MethodImpl(MethodImplOptions.InternalCall)]
- internal static extern void Internal_GetResourceUUIDSelection(out string[] selection);
- [MethodImpl(MethodImplOptions.InternalCall)]
- internal static extern void Internal_SetResourceUUIDSelection(string[] selection);
- [MethodImpl(MethodImplOptions.InternalCall)]
- internal static extern void Internal_GetResourcePathSelection(out string[] selection);
- [MethodImpl(MethodImplOptions.InternalCall)]
- internal static extern void Internal_SetResourcePathSelection(string[] selection);
- }
- }
|