// Use this for initialization void Start() { Pose = Vector3.zero; MedicalImaging.LoadMRISlices(texture, alphamap); MedicalImaging.BuildMRIModel(this.gameObject, MedicalImaging.slices, Vector3.zero, 1.0f, Threshold); this.transform.Translate(new Vector3(0.1f, 0.15f, -0.10f)); }
// Use this for initialization void Start() { pose = Vector3.zero; DepthChangedEventHandler += MagnifierLensTexture_DepthChangedEventHandler; MedicalImaging.LoadMRISlices(texture, alphamap); loadSlice(currentSlice); }