BsScriptCLight.generated.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #pragma once
  2. #include "BsScriptEnginePrerequisites.h"
  3. #include "Wrappers/BsScriptComponent.h"
  4. #include "../../../bsf/Source/Foundation/bsfCore/Renderer/BsLight.h"
  5. #include "Math/BsSphere.h"
  6. namespace bs
  7. {
  8. class CLight;
  9. class BS_SCR_BE_EXPORT ScriptCLight : public TScriptComponent<ScriptCLight, CLight>
  10. {
  11. public:
  12. SCRIPT_OBJ(ENGINE_ASSEMBLY, "BansheeEngine", "Light")
  13. ScriptCLight(MonoObject* managedInstance, const GameObjectHandle<CLight>& value);
  14. private:
  15. static void Internal_setType(ScriptCLight* thisPtr, LightType type);
  16. static LightType Internal_getType(ScriptCLight* thisPtr);
  17. static void Internal_setCastsShadow(ScriptCLight* thisPtr, bool castsShadow);
  18. static bool Internal_getCastsShadow(ScriptCLight* thisPtr);
  19. static void Internal_setShadowBias(ScriptCLight* thisPtr, float bias);
  20. static float Internal_getShadowBias(ScriptCLight* thisPtr);
  21. static void Internal_setColor(ScriptCLight* thisPtr, Color* color);
  22. static void Internal_getColor(ScriptCLight* thisPtr, Color* __output);
  23. static void Internal_setAttenuationRadius(ScriptCLight* thisPtr, float radius);
  24. static float Internal_getAttenuationRadius(ScriptCLight* thisPtr);
  25. static void Internal_setSourceRadius(ScriptCLight* thisPtr, float radius);
  26. static float Internal_getSourceRadius(ScriptCLight* thisPtr);
  27. static void Internal_setIntensity(ScriptCLight* thisPtr, float intensity);
  28. static float Internal_getIntensity(ScriptCLight* thisPtr);
  29. static void Internal_setSpotAngle(ScriptCLight* thisPtr, Degree* spotAngle);
  30. static void Internal_getSpotAngle(ScriptCLight* thisPtr, Degree* __output);
  31. static void Internal_setSpotFalloffAngle(ScriptCLight* thisPtr, Degree* spotAngle);
  32. static void Internal_getSpotFalloffAngle(ScriptCLight* thisPtr, Degree* __output);
  33. static void Internal_setUseAutoAttenuation(ScriptCLight* thisPtr, bool enabled);
  34. static bool Internal_getUseAutoAttenuation(ScriptCLight* thisPtr);
  35. static void Internal_getBounds(ScriptCLight* thisPtr, Sphere* __output);
  36. };
  37. }