X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FGraphic3d%2FGraphic3d_CLight.hxx;h=95fd89eda39350fa878e1921cb1ad0f645729689;hb=06d40093b715adf9cb1e36d25e5fde6bef2f7b41;hpb=cb7f92396f80270e13206be742038ca0ce04571a diff --git a/src/Graphic3d/Graphic3d_CLight.hxx b/src/Graphic3d/Graphic3d_CLight.hxx index cb44777709..95fd89eda3 100644 --- a/src/Graphic3d/Graphic3d_CLight.hxx +++ b/src/Graphic3d/Graphic3d_CLight.hxx @@ -33,6 +33,9 @@ public: //! Empty constructor, which should be followed by light source properties configuration. Standard_EXPORT Graphic3d_CLight (Graphic3d_TypeOfLightSource theType); + //! Copy parameters from another light source excluding source type. + Standard_EXPORT void CopyFrom (const Handle(Graphic3d_CLight)& theLight); + //! Returns the Type of the Light, cannot be changed after object construction. Graphic3d_TypeOfLightSource Type() const { return myType; }