public Property(SurfaceTexture tex,string name){ SurfaceProperty=tex.GetProperty(name,true); IsTexture=(SurfaceProperty.Value is TextureValue); // Pull the values right now: Prepare(null); }