MQL5参考标准程序库3D图形CCanvas3DLightColorSet AmbientColorGetAmbientColorSetAttachCreateDestroyDXContextDXDispatcherInputSceneLightColorGetLightColorSetLightDirectionGetLightDirectionSetObjectAddProjectionMatrixGetProjectionMatrixSetRenderRenderBeginRenderEndViewMatrixGetViewMatrixSetViewPositionSetViewRotationSetViewTargetSetViewUpDirectionSet LightColorSet 设置定向光源的颜色和强度。 void LightColorSet( const DXColor &light_color // 定向光线颜色和强度 ); 参数 &light_color [in] 定向光线颜色和强度。 返回值 无。 注意 强度在DXColor结构的alpha通道中设置。 LightColorGet LightDirectionGet