2.31.3.10 CT_PointLight

Target namespace: http://schemas.microsoft.com/office/drawing/2017/model3d

Referenced by: CT_Model3D

Represents an omni-directional point light of the 3D Model.

Child Elements:

clr: A CT_Color ([MS-DOCX] section 2.6.3.3) element that specifies the color values of the point light.

intensity: A CT_PositiveRatio (section 2.31.3.16) element that specifies the intensity of the point light, represented in Candela.

pos: A CT_Point3D ([ISO/IEC29500-1:2016] section A.4.1) element that specifies the position of the point light of the 3D Model.

extLst: A CT_OfficeArtExtensionList ([ISO/IEC29500-1:2016] section A.4.1) element that specifies the extension list in which all future extensions of element type ext are defined. The extension list, along with corresponding future extensions, is used to extend the storage capabilities of the DrawingML framework. This enables various new types of data to be stored natively in the framework.

Attributes:

enabled: A boolean ([XMLSCHEMA2/2] section 3.2.2) attribute that specifies whether the light is on or off.

rad: An ST_PositiveCoordinate ([ISO/IEC29500-1:2016] section A.4.1) attribute that specifies the length of the radius of the light in English Metric Units (EMUs).

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_PointLight">
   <xsd:sequence>
     <xsd:element name="clr" type="a:CT_Color" minOccurs="1" maxOccurs="1"/>
     <xsd:element name="intensity" type="CT_PositiveRatio" minOccurs="1" maxOccurs="1"/>
     <xsd:element name="pos" type="a:CT_Point3D" minOccurs="1" maxOccurs="1"/>
     <xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
   </xsd:sequence>
   <xsd:attribute name="enabled" type="xsd:boolean" use="optional" default="true"/>
   <xsd:attribute name="rad" type="a:ST_PositiveCoordinate" use="required"/>
 </xsd:complexType>

See section 5.29 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).