Hi all,
I came across an issue when working with local SLPK files exported from ArcGIS Pro when using a C# script.
The following code snippet is pulled from my script
doorsLayer = new ArcGIS3DObjectSceneLayer(doorsSlpkPath, "Doors_Layer", 1.0f, true, "");
doorsLayer.MaterialReference = new Material(Resources.Load<Material>("Materials/Doors_Material"));
arcGISMap.Layers.Add(doorsLayer);
Currently the "Opacity" is set to 1.0f which is "no transparency". However, if a set something like 0.2f this is not reflected in the appearance of this layer.
The strange thing is when I set the "Opacity" without any C#, just by using the Map Creator UI, then Opacity/Transparency works just fine.
Any idea what might be causing this?
Thanks and best regards
Winfried
P.S. I'm working with ArcGIS Pro 3.1.2, Unity 2021.3.25f1 and ArcGIS Maps SDK for Unity 1.2