2026-03-27 13:07:39 +08:00
|
|
|
using System;
|
|
|
|
|
using System.Runtime.CompilerServices;
|
2026-04-19 02:38:48 +08:00
|
|
|
using XCEngine.Rendering;
|
2026-03-27 13:07:39 +08:00
|
|
|
|
|
|
|
|
namespace XCEngine
|
|
|
|
|
{
|
|
|
|
|
internal static class InternalCalls
|
|
|
|
|
{
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
2026-04-05 02:26:21 +08:00
|
|
|
internal static extern void Debug_Log(string message, string file, int line, string member);
|
2026-03-27 13:07:39 +08:00
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
2026-04-05 02:26:21 +08:00
|
|
|
internal static extern void Debug_LogWarning(string message, string file, int line, string member);
|
2026-03-27 13:07:39 +08:00
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
2026-04-05 02:26:21 +08:00
|
|
|
internal static extern void Debug_LogError(string message, string file, int line, string member);
|
2026-03-27 13:07:39 +08:00
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Time_GetDeltaTime();
|
|
|
|
|
|
2026-04-03 13:22:30 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Time_GetFixedDeltaTime();
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Input_GetKey(int keyCode);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Input_GetKeyDown(int keyCode);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Input_GetKeyUp(int keyCode);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Input_GetMouseButton(int button);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Input_GetMouseButtonDown(int button);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Input_GetMouseButtonUp(int button);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Input_GetButton(string buttonName);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Input_GetButtonDown(string buttonName);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Input_GetButtonUp(string buttonName);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Input_GetAxis(string axisName);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Input_GetAxisRaw(string axisName);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Input_GetAnyKey();
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Input_GetAnyKeyDown();
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Input_GetMousePosition(out Vector3 position);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Input_GetMouseScrollDelta(out Vector2 delta);
|
|
|
|
|
|
2026-03-27 13:07:39 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern string GameObject_GetName(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void GameObject_SetName(ulong gameObjectUUID, string name);
|
|
|
|
|
|
2026-04-03 15:10:37 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern string GameObject_GetTag(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void GameObject_SetTag(ulong gameObjectUUID, string tag);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool GameObject_CompareTag(ulong gameObjectUUID, string tag);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int GameObject_GetLayer(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void GameObject_SetLayer(ulong gameObjectUUID, int layer);
|
|
|
|
|
|
2026-03-27 13:07:39 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool GameObject_GetActiveSelf(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool GameObject_GetActiveInHierarchy(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void GameObject_SetActive(ulong gameObjectUUID, bool active);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool GameObject_HasComponent(ulong gameObjectUUID, Type componentType);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
2026-03-28 00:43:13 +08:00
|
|
|
internal static extern Component GameObject_GetComponent(ulong gameObjectUUID, Type componentType);
|
2026-03-27 13:07:39 +08:00
|
|
|
|
2026-04-03 14:51:52 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern Component[] GameObject_GetComponents(ulong gameObjectUUID, Type componentType);
|
|
|
|
|
|
2026-04-03 14:31:07 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern Component GameObject_GetComponentInChildren(ulong gameObjectUUID, Type componentType);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern Component GameObject_GetComponentInParent(ulong gameObjectUUID, Type componentType);
|
|
|
|
|
|
2026-03-27 15:32:37 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
2026-03-28 00:43:13 +08:00
|
|
|
internal static extern Component GameObject_AddComponent(ulong gameObjectUUID, Type componentType);
|
2026-03-27 15:32:37 +08:00
|
|
|
|
2026-03-27 16:30:16 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern ulong GameObject_Find(string name);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern ulong GameObject_Create(string name, ulong parentGameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void GameObject_Destroy(ulong gameObjectUUID);
|
|
|
|
|
|
2026-04-03 14:31:07 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Object_Destroy(global::XCEngine.Object obj);
|
|
|
|
|
|
2026-03-27 13:07:39 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Behaviour_GetEnabled(ulong scriptComponentUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Behaviour_SetEnabled(ulong scriptComponentUUID, bool enabled);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_GetLocalPosition(ulong gameObjectUUID, out Vector3 position);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_SetLocalPosition(ulong gameObjectUUID, ref Vector3 position);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_GetLocalRotation(ulong gameObjectUUID, out Quaternion rotation);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_SetLocalRotation(ulong gameObjectUUID, ref Quaternion rotation);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_GetLocalScale(ulong gameObjectUUID, out Vector3 scale);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_SetLocalScale(ulong gameObjectUUID, ref Vector3 scale);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_GetLocalEulerAngles(ulong gameObjectUUID, out Vector3 eulerAngles);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_SetLocalEulerAngles(ulong gameObjectUUID, ref Vector3 eulerAngles);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_GetPosition(ulong gameObjectUUID, out Vector3 position);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_SetPosition(ulong gameObjectUUID, ref Vector3 position);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_GetRotation(ulong gameObjectUUID, out Quaternion rotation);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_SetRotation(ulong gameObjectUUID, ref Quaternion rotation);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_GetScale(ulong gameObjectUUID, out Vector3 scale);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_SetScale(ulong gameObjectUUID, ref Vector3 scale);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_GetForward(ulong gameObjectUUID, out Vector3 forward);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_GetRight(ulong gameObjectUUID, out Vector3 right);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_GetUp(ulong gameObjectUUID, out Vector3 up);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_Translate(ulong gameObjectUUID, ref Vector3 translation, int relativeTo);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_Rotate(ulong gameObjectUUID, ref Vector3 eulers, int relativeTo);
|
|
|
|
|
|
2026-03-27 14:39:19 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_RotateAxisAngle(ulong gameObjectUUID, ref Vector3 axis, float angle, int relativeTo);
|
|
|
|
|
|
2026-03-27 13:07:39 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_LookAt(ulong gameObjectUUID, ref Vector3 target);
|
|
|
|
|
|
2026-03-27 14:39:19 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_LookAtWithUp(ulong gameObjectUUID, ref Vector3 target, ref Vector3 up);
|
|
|
|
|
|
2026-03-27 13:07:39 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_TransformPoint(ulong gameObjectUUID, ref Vector3 point, out Vector3 transformedPoint);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_InverseTransformPoint(ulong gameObjectUUID, ref Vector3 point, out Vector3 transformedPoint);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_TransformDirection(ulong gameObjectUUID, ref Vector3 direction, out Vector3 transformedDirection);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_InverseTransformDirection(ulong gameObjectUUID, ref Vector3 direction, out Vector3 transformedDirection);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern ulong Transform_GetParent(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Transform_SetParent(ulong gameObjectUUID, ulong parentGameObjectUUID, bool worldPositionStays);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int Transform_GetChildCount(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern ulong Transform_GetChild(ulong gameObjectUUID, int index);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Camera_GetFieldOfView(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Camera_SetFieldOfView(ulong gameObjectUUID, float value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Camera_GetNearClipPlane(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Camera_SetNearClipPlane(ulong gameObjectUUID, float value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Camera_GetFarClipPlane(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Camera_SetFarClipPlane(ulong gameObjectUUID, float value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Camera_GetDepth(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Camera_SetDepth(ulong gameObjectUUID, float value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Camera_GetPrimary(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Camera_SetPrimary(ulong gameObjectUUID, bool value);
|
|
|
|
|
|
2026-04-21 21:42:03 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int Camera_GetClearMode(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Camera_SetClearMode(ulong gameObjectUUID, int value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int Camera_GetStackType(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Camera_SetStackType(ulong gameObjectUUID, int value);
|
|
|
|
|
|
2026-04-21 22:03:24 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int Camera_GetProjectionType(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Camera_GetSkyboxEnabled(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Camera_GetHasSkyboxMaterial(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Camera_GetSkyboxTopColor(ulong gameObjectUUID, out Color value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Camera_GetSkyboxHorizonColor(ulong gameObjectUUID, out Color value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Camera_GetSkyboxBottomColor(ulong gameObjectUUID, out Color value);
|
|
|
|
|
|
2026-04-21 22:34:40 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Camera_GetHasFinalColorOverrides(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Camera_GetFinalColorOverrideSettings(
|
|
|
|
|
ulong gameObjectUUID,
|
|
|
|
|
out Rendering.FinalColorOverrideSettings settings);
|
|
|
|
|
|
2026-03-27 13:07:39 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Light_GetIntensity(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Light_SetIntensity(ulong gameObjectUUID, float value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Light_GetRange(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Light_SetRange(ulong gameObjectUUID, float value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Light_GetSpotAngle(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Light_SetSpotAngle(ulong gameObjectUUID, float value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Light_GetCastsShadows(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Light_SetCastsShadows(ulong gameObjectUUID, bool value);
|
2026-03-27 14:52:00 +08:00
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern string MeshFilter_GetMeshPath(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void MeshFilter_SetMeshPath(ulong gameObjectUUID, string path);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int MeshRenderer_GetMaterialCount(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern string MeshRenderer_GetMaterialPath(ulong gameObjectUUID, int index);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void MeshRenderer_SetMaterialPath(ulong gameObjectUUID, int index, string path);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void MeshRenderer_ClearMaterials(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool MeshRenderer_GetCastShadows(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void MeshRenderer_SetCastShadows(ulong gameObjectUUID, bool value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool MeshRenderer_GetReceiveShadows(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void MeshRenderer_SetReceiveShadows(ulong gameObjectUUID, bool value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int MeshRenderer_GetRenderLayer(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void MeshRenderer_SetRenderLayer(ulong gameObjectUUID, int value);
|
2026-04-15 01:57:14 +08:00
|
|
|
|
2026-04-15 13:58:30 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int Rigidbody_GetBodyType(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Rigidbody_SetBodyType(ulong gameObjectUUID, int value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Rigidbody_GetMass(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Rigidbody_SetMass(ulong gameObjectUUID, float value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Rigidbody_GetLinearDamping(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Rigidbody_SetLinearDamping(ulong gameObjectUUID, float value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float Rigidbody_GetAngularDamping(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Rigidbody_SetAngularDamping(ulong gameObjectUUID, float value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Rigidbody_GetLinearVelocity(ulong gameObjectUUID, out Vector3 velocity);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Rigidbody_SetLinearVelocity(ulong gameObjectUUID, ref Vector3 velocity);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Rigidbody_GetAngularVelocity(ulong gameObjectUUID, out Vector3 velocity);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Rigidbody_SetAngularVelocity(ulong gameObjectUUID, ref Vector3 velocity);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Rigidbody_GetUseGravity(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Rigidbody_SetUseGravity(ulong gameObjectUUID, bool value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Rigidbody_GetEnableCCD(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Rigidbody_SetEnableCCD(ulong gameObjectUUID, bool value);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Rigidbody_AddForce(ulong gameObjectUUID, ref Vector3 force, int forceMode);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void Rigidbody_ClearForces(ulong gameObjectUUID);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool Physics_Raycast(
|
|
|
|
|
ref Vector3 origin,
|
|
|
|
|
ref Vector3 direction,
|
|
|
|
|
float maxDistance,
|
|
|
|
|
out ulong hitGameObjectUUID,
|
|
|
|
|
out Vector3 hitPoint,
|
|
|
|
|
out Vector3 hitNormal,
|
|
|
|
|
out float hitDistance,
|
|
|
|
|
out int hitIsTrigger);
|
|
|
|
|
|
2026-04-15 01:57:14 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
2026-04-18 16:41:53 +08:00
|
|
|
internal static extern void Rendering_SetRenderPipelineAsset(
|
|
|
|
|
ScriptableRenderPipelineAsset asset);
|
2026-04-15 01:57:14 +08:00
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
2026-04-18 16:41:53 +08:00
|
|
|
internal static extern ScriptableRenderPipelineAsset
|
|
|
|
|
Rendering_GetRenderPipelineAsset();
|
2026-04-17 21:53:52 +08:00
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int Rendering_ScriptableRenderContext_GetStage(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 00:53:35 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetRendererIndex(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-20 18:26:47 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetSourceColorTextureHandle(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetPrimaryColorTargetHandle(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetDepthTargetHandle(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_CreateTransientTexture(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
string name,
|
|
|
|
|
ref Rendering.RenderGraphTextureDesc desc);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_CreateFullscreenTransientColorTexture(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
string name);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_CreateFullscreenTransientDepthTexture(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
string name);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern ulong
|
|
|
|
|
Rendering_ScriptableRenderContext_BeginRasterPass(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
string passName);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_SetRasterPassSourceColorTexture(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ulong rasterPassHandle,
|
|
|
|
|
int sourceTextureHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_AddRasterPassReadTexture(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ulong rasterPassHandle,
|
|
|
|
|
int textureHandle);
|
|
|
|
|
|
2026-04-22 00:07:10 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_AddRasterPassReadDepthTexture(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ulong rasterPassHandle,
|
|
|
|
|
int textureHandle);
|
|
|
|
|
|
2026-04-22 00:43:25 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_AddRasterPassTextureBinding(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ulong rasterPassHandle,
|
|
|
|
|
string shaderResourceName,
|
|
|
|
|
int textureHandle,
|
|
|
|
|
bool isDepth);
|
|
|
|
|
|
2026-04-20 18:26:47 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_SetRasterPassColorAttachment(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ulong rasterPassHandle,
|
|
|
|
|
int colorAttachmentIndex,
|
|
|
|
|
int textureHandle);
|
|
|
|
|
|
2026-04-22 00:07:10 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_SetRasterPassDepthAttachment(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ulong rasterPassHandle,
|
|
|
|
|
int textureHandle);
|
|
|
|
|
|
2026-04-20 18:26:47 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_SetRasterPassColorScaleFullscreenExecution(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ulong rasterPassHandle,
|
|
|
|
|
ref Vector4 vectorPayload);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_SetRasterPassShaderVectorFullscreenExecution(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ulong rasterPassHandle,
|
|
|
|
|
string shaderPath,
|
|
|
|
|
string shaderPassName,
|
|
|
|
|
ref Vector4 vectorPayload);
|
|
|
|
|
|
2026-04-21 12:59:52 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_SetRasterPassFinalColorFullscreenExecution(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ulong rasterPassHandle,
|
|
|
|
|
ref Rendering.FinalColorSettings settings);
|
|
|
|
|
|
2026-04-20 18:26:47 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_CommitRasterPass(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ulong rasterPassHandle);
|
|
|
|
|
|
2026-04-21 00:53:35 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_GetRendererIndex(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-20 01:48:16 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_IsStageRequested(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
int stage);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_GetStageColorSource(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
int stage);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_GetStageUsesGraphManagedOutputColor(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
int stage);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_RequestFullscreenStage(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
int stage,
|
|
|
|
|
int source,
|
|
|
|
|
bool usesGraphManagedOutputColor);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_ClearFullscreenStage(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
int stage);
|
|
|
|
|
|
2026-04-21 15:44:19 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_RequestShadowCasterStage(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_ClearShadowCasterStage(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 16:43:56 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_GetHasExplicitShadowCasterStageConfiguration(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 16:22:26 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_RequestDepthOnlyStage(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 16:56:20 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_RequestCameraDepthOnlyStage(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 16:22:26 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_ClearDepthOnlyStage(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 16:43:56 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_GetHasExplicitDepthOnlyStageConfiguration(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 12:59:52 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderPipelinePlanningContext_GetHasFinalColorProcessing(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-19 00:05:29 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetStageColorSource(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_GetStageUsesGraphManagedOutputColor(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowEnabled(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowViewProjection(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Matrix4x4 viewProjection);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowOrthographicHalfExtent(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowNearClipPlane(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowFarClipPlane(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowMapWidth(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowMapHeight(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowWorldTexelSize(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowReceiverDepthBias(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowNormalBiasScale(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowStrength(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowDepthBiasFactor(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalShadowDepthBiasUnits(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraView(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Matrix4x4 view);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraProjection(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Matrix4x4 projection);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraViewProjection(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Matrix4x4 viewProjection);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraWorldPosition(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Vector3 worldPosition);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraWorldRight(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Vector3 worldRight);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraWorldUp(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Vector3 worldUp);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraWorldForward(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Vector3 worldForward);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraClearColor(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Color clearColor);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraClearFlags(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraPerspectiveProjection(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraVerticalFovRadians(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraOrthographicSize(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraAspectRatio(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraNearClipPlane(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraFarClipPlane(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraViewportWidth(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetCameraViewportHeight(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalLightEnabled(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalLightCastsShadows(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalLightDirection(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Vector3 direction);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalLightColor(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Color color);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetMainDirectionalLightIntensity(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_GetHasMainDirectionalShadow(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetAdditionalLightCount(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetEnvironmentMode(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetEnvironmentSkyboxTopColor(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Color color);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetEnvironmentSkyboxHorizonColor(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Color color);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetEnvironmentSkyboxBottomColor(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Color color);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetFinalColorOutputTransferMode(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetFinalColorExposureMode(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern float
|
|
|
|
|
Rendering_ScriptableRenderContext_GetFinalColorExposureValue(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_ScriptableRenderContext_GetFinalColorToneMappingMode(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_ScriptableRenderContext_GetFinalColorScale(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Vector4 scale);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_GetFinalColorHasPipelineDefaults(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_GetFinalColorHasCameraOverrides(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-17 22:26:51 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
2026-04-18 13:30:45 +08:00
|
|
|
Rendering_ScriptableRenderContext_RecordScenePhase(
|
2026-04-17 22:26:51 +08:00
|
|
|
ulong nativeHandle,
|
|
|
|
|
int scenePhase);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
2026-04-20 18:54:04 +08:00
|
|
|
internal static extern bool
|
2026-04-20 22:05:38 +08:00
|
|
|
Rendering_ScriptableRenderContext_DrawRenderersByDesc(
|
2026-04-20 18:54:04 +08:00
|
|
|
ulong nativeHandle,
|
|
|
|
|
int scenePhase,
|
2026-04-20 22:46:19 +08:00
|
|
|
ref Rendering.RendererListDesc rendererListDesc,
|
2026-04-20 22:58:08 +08:00
|
|
|
string overrideMaterialPath,
|
2026-04-20 23:21:04 +08:00
|
|
|
string shaderPassName,
|
|
|
|
|
ref Rendering.RenderStateBlock renderStateBlock);
|
2026-04-20 18:54:04 +08:00
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
2026-04-17 22:26:51 +08:00
|
|
|
internal static extern bool
|
2026-04-18 13:30:45 +08:00
|
|
|
Rendering_ScriptableRenderContext_RecordSceneInjectionPoint(
|
2026-04-17 22:26:51 +08:00
|
|
|
ulong nativeHandle,
|
|
|
|
|
int injectionPoint);
|
2026-04-17 22:58:39 +08:00
|
|
|
|
2026-04-21 01:54:02 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_ScriptableRenderContext_RecordNativeSceneFeaturePass(
|
|
|
|
|
ulong nativeHandle,
|
2026-04-21 22:52:08 +08:00
|
|
|
int featurePassId);
|
2026-04-21 01:54:02 +08:00
|
|
|
|
2026-04-18 00:07:13 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
2026-04-19 15:20:34 +08:00
|
|
|
Rendering_CameraRenderRequestContext_GetRenderedBaseCameraCount(
|
2026-04-18 00:07:13 +08:00
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
2026-04-19 15:20:34 +08:00
|
|
|
Rendering_CameraRenderRequestContext_GetRenderedRequestCount(
|
2026-04-18 00:07:13 +08:00
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 00:53:35 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern ulong
|
|
|
|
|
Rendering_CameraRenderRequestContext_GetCameraGameObjectUUID(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_CameraRenderRequestContext_GetRendererIndex(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_CameraRenderRequestContext_SetRendererIndex(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
int rendererIndex);
|
|
|
|
|
|
2026-04-18 00:07:13 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
2026-04-19 15:20:34 +08:00
|
|
|
Rendering_CameraRenderRequestContext_GetHasDirectionalShadow(
|
2026-04-18 00:07:13 +08:00
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 02:19:30 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_CameraRenderRequestContext_GetDirectionalShadowPlanningSettings(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
out Rendering.DirectionalShadowPlanningSettings settings);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_CameraRenderRequestContext_SetDirectionalShadowPlanningSettings(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ref Rendering.DirectionalShadowPlanningSettings settings);
|
|
|
|
|
|
2026-04-18 00:07:13 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
2026-04-19 15:20:34 +08:00
|
|
|
Rendering_CameraRenderRequestContext_ClearDirectionalShadow(
|
2026-04-18 00:07:13 +08:00
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 21:42:03 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_CameraRenderRequestContext_GetClearFlags(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_CameraRenderRequestContext_SetClearFlags(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
int clearFlags);
|
|
|
|
|
|
2026-04-21 22:34:40 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_CameraRenderRequestContext_SetResolvedFinalColorPolicy(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ref Rendering.FinalColorSettings settings,
|
|
|
|
|
bool hasPipelineDefaults,
|
|
|
|
|
bool hasCameraOverrides);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_CameraRenderRequestContext_ClearFinalColorPolicy(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 17:41:44 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
2026-04-21 18:05:33 +08:00
|
|
|
internal static extern int
|
|
|
|
|
Rendering_RenderSceneSetupContext_GetRendererIndex(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 21:42:03 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern ulong
|
|
|
|
|
Rendering_RenderSceneSetupContext_GetCameraGameObjectUUID(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 18:05:33 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_RenderSceneSetupContext_GetIsConfigured(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
2026-04-21 22:03:24 +08:00
|
|
|
internal static extern int
|
|
|
|
|
Rendering_RenderSceneSetupContext_GetClearFlags(
|
2026-04-21 18:05:33 +08:00
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
2026-04-21 22:03:24 +08:00
|
|
|
Rendering_RenderSceneSetupContext_GetHasMainSceneDepthAttachment(
|
2026-04-21 18:05:33 +08:00
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
2026-04-21 22:03:24 +08:00
|
|
|
Rendering_RenderSceneSetupContext_GetHasMainDirectionalShadow(
|
2026-04-21 18:05:33 +08:00
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
2026-04-21 22:03:24 +08:00
|
|
|
Rendering_RenderSceneSetupContext_SetEnvironmentNone(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_RenderSceneSetupContext_UseCameraSkyboxMaterial(
|
2026-04-21 18:05:33 +08:00
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-04-21 22:03:24 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_RenderSceneSetupContext_SetProceduralSkybox(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
ref Color topColor,
|
|
|
|
|
ref Color horizonColor,
|
|
|
|
|
ref Color bottomColor);
|
|
|
|
|
|
2026-04-21 18:05:33 +08:00
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_RenderSceneSetupContext_ClearGlobalShaderKeywords(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
2026-04-21 22:03:24 +08:00
|
|
|
Rendering_RenderSceneSetupContext_SetGlobalShaderKeyword(
|
|
|
|
|
ulong nativeHandle,
|
|
|
|
|
string keyword,
|
|
|
|
|
bool enabled);
|
2026-04-21 18:05:33 +08:00
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
2026-04-21 17:41:44 +08:00
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_DirectionalShadowExecutionContext_GetHasPlannedMainDirectionalShadow(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern int
|
|
|
|
|
Rendering_DirectionalShadowExecutionContext_GetRendererIndex(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_DirectionalShadowExecutionContext_GetIsConfigured(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern bool
|
|
|
|
|
Rendering_DirectionalShadowExecutionContext_UseDefaultMainDirectionalShadowExecution(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
|
|
internal static extern void
|
|
|
|
|
Rendering_DirectionalShadowExecutionContext_ClearDirectionalShadowExecution(
|
|
|
|
|
ulong nativeHandle);
|
|
|
|
|
|
2026-03-27 13:07:39 +08:00
|
|
|
}
|
|
|
|
|
}
|
2026-04-19 02:38:48 +08:00
|
|
|
|