BsScriptCLight.generated.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. #include "Image/BsColor.h"
  7. #include "Math/BsDegree.h"
  8. namespace bs
  9. {
  10. class CLight;
  11. class BS_SCR_BE_EXPORT ScriptCLight : public TScriptComponent<ScriptCLight, CLight>
  12. {
  13. public:
  14. SCRIPT_OBJ(ENGINE_ASSEMBLY, "BansheeEngine", "Light")
  15. ScriptCLight(MonoObject* managedInstance, const GameObjectHandle<CLight>& value);
  16. private:
  17. static void Internal_setType(ScriptCLight* thisPtr, LightType type);
  18. static LightType Internal_getType(ScriptCLight* thisPtr);
  19. static void Internal_setCastsShadow(ScriptCLight* thisPtr, bool castsShadow);
  20. static bool Internal_getCastsShadow(ScriptCLight* thisPtr);
  21. static void Internal_setShadowBias(ScriptCLight* thisPtr, float bias);
  22. static float Internal_getShadowBias(ScriptCLight* thisPtr);
  23. static void Internal_setColor(ScriptCLight* thisPtr, Color* color);
  24. static void Internal_getColor(ScriptCLight* thisPtr, Color* __output);
  25. static void Internal_setAttenuationRadius(ScriptCLight* thisPtr, float radius);
  26. static float Internal_getAttenuationRadius(ScriptCLight* thisPtr);
  27. static void Internal_setSourceRadius(ScriptCLight* thisPtr, float radius);
  28. static float Internal_getSourceRadius(ScriptCLight* thisPtr);
  29. static void Internal_setIntensity(ScriptCLight* thisPtr, float intensity);
  30. static float Internal_getIntensity(ScriptCLight* thisPtr);
  31. static void Internal_setSpotAngle(ScriptCLight* thisPtr, Degree* spotAngle);
  32. static void Internal_getSpotAngle(ScriptCLight* thisPtr, Degree* __output);
  33. static void Internal_setSpotFalloffAngle(ScriptCLight* thisPtr, Degree* spotAngle);
  34. static void Internal_getSpotFalloffAngle(ScriptCLight* thisPtr, Degree* __output);
  35. static void Internal_setUseAutoAttenuation(ScriptCLight* thisPtr, bool enabled);
  36. static bool Internal_getUseAutoAttenuation(ScriptCLight* thisPtr);
  37. static void Internal_getBounds(ScriptCLight* thisPtr, Sphere* __output);
  38. };
  39. }