public llSetColor ( Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.Vector3 color, int face ) : void | ||
color | Aurora.ScriptEngine.AuroraDotNetEngine.LSL_Types.Vector3 | |
face | int | |
return | void |
public void llSetColor(LSL_Vector color, int face)
{
if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return;
if (face == ScriptBaseClass.ALL_SIDES)
face = SceneObjectPart.ALL_SIDES;
m_host.SetFaceColor(new Vector3((float)color.x, (float)color.y, (float)color.z), face);
}