[]
Initializes new instance of the LightInfo class with a default settings
public Light()
Initializes new instance of the LightInfo class
public Light(Point3d source, LightType type, float directionalRatio)
Type | Name | Description |
---|---|---|
Point3d | source | Light source position |
LightType | type | Light source type |
float | directionalRatio | Specifies directional/ambient intencity ratio |
For internal use only.
public Light(string xml)
Type | Name | Description |
---|---|---|
string | xml |
For internal use only.
public Light(string xml, GraphXmlSerializationContext context)
Type | Name | Description |
---|---|---|
string | xml | |
GraphXmlSerializationContext | context |