MQL5参考标准程序库3D图形CCanvas3DLightDirectionSet AmbientColorGetAmbientColorSetAttachCreateDestroyDXContextDXDispatcherInputSceneLightColorGetLightColorSetLightDirectionGetLightDirectionSetObjectAddProjectionMatrixGetProjectionMatrixSetRenderRenderBeginRenderEndViewMatrixGetViewMatrixSetViewPositionSetViewRotationSetViewTargetSetViewUpDirectionSet LightDirectionSet 设置定向光源的方向。 void LightDirectionSet( const DXVector3 &light_direction // 方向矢量 ); 参数 &light_direction [in] 方向矢量。 返回值 无。 LightDirectionGet ObjectAdd