Class OdfChartLightInfo
Represents summary information for a 3D chart light source (dr3d:light).
表示 3D 圖表光源(dr3d:light)的摘要資訊。
public sealed class OdfChartLightInfo
- Inheritance
-
OdfChartLightInfo
- Inherited Members
Constructors
OdfChartLightInfo(string, string?, bool?, bool?)
Represents summary information for a 3D chart light source (dr3d:light).
表示 3D 圖表光源(dr3d:light)的摘要資訊。
public OdfChartLightInfo(string direction, string? diffuseColor, bool? enabled, bool? specular)
Parameters
directionstringThe light direction vector (
dr3d:direction, formatted as(x y z)). / 光源方向向量(dr3d:direction,格式為(x y z))。diffuseColorstringThe diffuse color (
dr3d:diffuse-color). / 漫射色(dr3d:diffuse-color)。enabledbool?Whether this light source is enabled. / 是否啟用此光源。
specularbool?Whether specular reflection is enabled. / 是否啟用反射光。
Properties
DiffuseColor
Gets the diffuse color. 取得漫射色。
public string? DiffuseColor { get; }
Property Value
Direction
Gets the light direction vector. 取得光源方向向量。
public string Direction { get; }
Property Value
Enabled
Gets whether this light source is enabled. 取得是否啟用此光源。
public bool? Enabled { get; }
Property Value
- bool?
Specular
Gets whether specular reflection is enabled. 取得是否啟用反射光。
public bool? Specular { get; }
Property Value
- bool?