public void SetTexture2D(string name, Texture2D value) { if (value == null) { return; } SwigObject.SetTexture2D(name, value.SwigObject); }