public void OnObject3DLoaded(Object3D p0, Object3D.Type p1) { p0.LightReceivingBitMask = 1; activity.mProductModelGroup.Opacity = 0; activity.mProductModelGroup.SetScale(new Vector(0.9, 0.9, 0.9)); activity.mLastProductRotation = p0.RotationEulerRealtime; }
public void OnObject3DLoaded(Object3D p0, Object3D.Type p1) { activity.mCrosshairModel = p0; activity.mCrosshairModel.Opacity = 0; p0.LightReceivingBitMask = 2; activity.mCrosshairModel.SetScale(new Vector(0.175, 0.175, 0.175)); activity.mCrosshairModel.Click += (s, e) => { activity.SetTrackingStatus(TrackStatus.SelectedSurface); }; activity.mCrosshairModel.ClickState += (s, e) => { }; }
public void OnObject3DLoaded(Object3D p0, Object3D.Type p1) { var objectTexture = new Texture(bot, Texture.Format.Rgba8, false, false); var material = new Material { DiffuseTexture = objectTexture, Roughness = 0.23f, Metalness = 0.7f }; // Give the material a more "metallic" appearance, so it reflects the environment map. // By setting its lighting model to PHYSICALLY_BASED, we enable PBR rendering on the // model. material.SetLightingModel(Material.LightingModel.PhysicallyBased); p0.Geometry.Materials = new List <Material>() { material }; }
public void OnObject3DLoaded(Object3D p0, Object3D.Type p1) { PreloadCarColorTextures(p0); }
public void OnObject3DLoaded(Object3D p0, Object3D.Type p1) { mObjLoaded = true; StartPantherExperience(); }
public void OnObject3DLoaded(Object3D p0, Object3D.Type p1) { }