22.02.2016, 17:04
Quote:
Ah okay! That makes things a little better. I think Color.FromString may not work properly. Could you try Color.FromInteger(0xffffffff) ?
|
Код:
tmpobjid = new DynamicObject(19475, new Vector3(1705.361f, -682.467f, 1008.911f), new Vector3(0.000f, 0.000f, 0.000f), -1, -1, null, 300.000f, 300.000f); tmpobjid.SetMaterialText(0, "WC", ObjectMaterialSize.X512X512, "Ariel", 200, true, Color.FromInteger(0xFFFFFFFF, ColorFormat.ARGB), Color.FromInteger(0xFF000000, ColorFormat.ARGB), ObjectMaterialTextAlign.Center);
P.S. text "WC" appears normally (white)