internal void RemoveChild(SmartTerrainTrackable removedChild) { if (this.mChildren.Contains(removedChild)) { this.mChildren.Remove(removedChild); } }
internal void AddChild(SmartTerrainTrackable newChild) { if (!this.mChildren.Contains(newChild)) { this.mChildren.Add(newChild); } }
protected SmartTerrainTrackableImpl(string name, int id, SmartTerrainTrackable parent) : base(name, id) { this.mMeshRevision = 0; this.Parent = parent; this.mLocalPose = new VuforiaManagerImpl.PoseData { orientation = Quaternion.identity, position = Vector3.zero }; }
private SmartTerrainTrackable FindSmartTerrainTrackable(int id) { SmartTerrainTrackable result = null; if (this.mSurfaces.ContainsKey(id)) { result = this.mSurfaces[id]; } else if (this.mProps.ContainsKey(id)) { result = this.mProps[id]; } return(result); }
public SurfaceImpl(int id, SmartTerrainTrackable parent) : base("SmartTerrain", id, parent) { }
public PropImpl(int id, SmartTerrainTrackable parent) : base("Prop", id, parent) { }