/// <summary> /// Create the shape handler. /// </summary> /// <param name="categoryCheck"></param> public MeshHandler(Runtime.CategoryCheckDelegate categoryCheck) : base(categoryCheck) { if (Root != null) { Root.name = Name; } }
/// <summary> /// Create the shape handler. /// </summary> /// <param name="categoryCheck"></param> /// <param name="meshCache">The mesh cache from which to read resources.</param> public PointCloudHandler(Runtime.CategoryCheckDelegate categoryCheck, MeshCache meshCache) : base(categoryCheck) { if (Root != null) { Root.name = Name; } MeshCache = meshCache; }
/// <summary> /// Create the shape handler. /// </summary> /// <param name="categoryCheck"></param> public CapsuleHandler(Runtime.CategoryCheckDelegate categoryCheck) : base(categoryCheck) { _solidMeshes = Tessellate.Capsule.Solid(); _wireframeMeshes = Tessellate.Capsule.Wireframe(); if (Root != null) { Root.name = Name; } }
/// <summary> /// Create the shape handler. /// </summary> /// <param name="categoryCheck"></param> public CylinderHandler(Runtime.CategoryCheckDelegate categoryCheck) : base(categoryCheck) { _solidMesh = Tes.Tessellate.Cylinder.Solid(); _wireframeMesh = Tes.Tessellate.Cylinder.Wireframe(); if (Root != null) { Root.name = Name; } }
/// <summary> /// Create the shape handler. /// </summary> /// <param name="categoryCheck"></param> public PyramidHandler(Runtime.CategoryCheckDelegate categoryCheck) : base(categoryCheck) { _solidMesh = SolidPyramid(); _wireframeMesh = WireframePyramid(); if (Root != null) { Root.name = Name; } }