MQL5参考标准程序库3D图形CCanvas3DAmbientColorSet AmbientColorGetAmbientColorSetAttachCreateDestroyDXContextDXDispatcherInputSceneLightColorGetLightColorSetLightDirectionGetLightDirectionSetObjectAddProjectionMatrixGetProjectionMatrixSetRenderRenderBeginRenderEndViewMatrixGetViewMatrixSetViewPositionSetViewRotationSetViewTargetSetViewUpDirectionSet AmbientColorSet 设置环境全方位光线的颜色和强度。 void AmbientColorSet( const DXColor &ambient_color // 全方位光线的颜色和强度 ); 参数 &ambient_color [in] 全方位光线的颜色。 返回值 否 注意 强度在DXColor结构的alpha通道中设置。 AmbientColorGet Attach