Click or drag to resize
MyEntityIMyEntitySetEmissivePartsForSubparts Method

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

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

Namespace: VRage.Game.Entity
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
void IMyEntity.SetEmissivePartsForSubparts(
	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).

Implements

IMyEntitySetEmissivePartsForSubparts(String, Color, Single)
See Also