C# Class ScriptRuntime.LightComponent

灯光组件
Inheritance: ScriptRuntime.Component
Show file Open project: Genesis-3D/Genesis-3D Class Usage Examples

Public Methods

Method Description
LightComponent ( ) : System

创建一个光源组件,默认为电光源

Private Methods

Method Description
ICall_LightComponent_Bind ( LightComponent self ) : void
ICall_LightComponent_GetColorF ( LightComponent self, ColorF &color ) : void
ICall_LightComponent_GetDirection ( LightComponent self, System.Vector3 &dir ) : void
ICall_LightComponent_GetDistanceFallOff ( LightComponent self ) : float
ICall_LightComponent_GetIntensity ( LightComponent self ) : float
ICall_LightComponent_GetLightType ( LightComponent self ) : int
ICall_LightComponent_GetPosition ( LightComponent self, System.Vector3 &outPos ) : void
ICall_LightComponent_GetRange ( LightComponent self ) : float
ICall_LightComponent_GetSpotExponent ( LightComponent self ) : float
ICall_LightComponent_GetSpotInnerAngle ( LightComponent self ) : float
ICall_LightComponent_GetSpotOuterAngle ( LightComponent self ) : float
ICall_LightComponent_SetColorF ( LightComponent self, ColorF &color ) : void
ICall_LightComponent_SetDirection ( LightComponent self, System.Vector3 &dir ) : void
ICall_LightComponent_SetDistanceFallOff ( LightComponent self, float falloff ) : void
ICall_LightComponent_SetIntensity ( LightComponent self, float intensity ) : void
ICall_LightComponent_SetLightType ( LightComponent self, int lightType ) : void
ICall_LightComponent_SetPosition ( LightComponent self, System.Vector3 &pos ) : void
ICall_LightComponent_SetRange ( LightComponent self, float range ) : void
ICall_LightComponent_SetSpotExponent ( LightComponent self, float exponent ) : void
ICall_LightComponent_SetSpotInnerAngle ( LightComponent self, float innerAngle ) : void
ICall_LightComponent_SetSpotOuterAngle ( LightComponent self, float outerAngle ) : void
LightComponent ( DummyClass__ dummy ) : System
converLightType ( int lightType ) : LightType
converLightType ( LightType lightType ) : int

Method Details

LightComponent() public method

创建一个光源组件,默认为电光源
public LightComponent ( ) : System
return System