GlbData.CreatePunctualLight

CreatePunctualLight(PunctualLightType)

Creates a new PunctualLight instance and adds it to !:GlbImage.LogicalPunctualLights.

public PunctualLight CreatePunctualLight(PunctualLightType lightType)
ParameterTypeDescription
lightTypePunctualLightTypeA value of PunctualLightType describing the type of light to create.

Return Value

A PunctualLight instance.

See Also


CreatePunctualLight(string, PunctualLightType)

Creates a new PunctualLight instance. and adds it to !:GlbImage.LogicalPunctualLights.

public PunctualLight CreatePunctualLight(string name, PunctualLightType lightType)
ParameterTypeDescription
nameStringThe name of the instance.
lightTypePunctualLightTypeA value of PunctualLightType describing the type of light to create.

Return Value

A PunctualLight instance.

See Also