MQL5 ReferenceStandard Library3D GraphicsCCanvas3DLightDirectionSet AmbientColorGetAmbientColorSetAttachCreateDestroyDXContextDXDispatcherInputSceneLightColorGetLightColorSetLightDirectionGetLightDirectionSetObjectAddProjectionMatrixGetProjectionMatrixSetRenderRenderBeginRenderEndViewMatrixGetViewMatrixSetViewPositionSetViewRotationSetViewTargetSetViewUpDirectionSet LightDirectionSet Sets the direction of a directed light source. void LightDirectionSet( const DXVector3 &light_direction // direction vector ); Parameters &light_direction [in] Direction vector. Return Value None. LightDirectionGet ObjectAdd