Click or drag to resize
IMyEntitySetEmissiveParts Method

[This is preliminary documentation and is subject to change.]

Sets the emissive value of a specific emissive material on entity.

Namespace: VRage.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
void SetEmissiveParts(
	string emissiveName,
	Color emissivePartColor,
	float emissivity
)

Parameters

emissiveName
Type: SystemString
The name of the emissive material (ie. "Emissive0")
emissivePartColor
Type: Color
Color to emit
emissivity
Type: SystemSingle
Level of emissivity (0 is off, 1 is full brightness)
See Also