Primitive prim = Primitive.CreateBox(Vector3.Zero, Quaternion.Identity, new Vector3(1, 1, 1));
prim.Prim.Properties.Set("Color", new LSL_Types.Vector3(1, 0, 0));
ListThis code creates a hollow tube from (0,0,0) to (0,0,1) with an outer diameter of 0.25 and inner diameter of 0.1. OpenMetaverse Primitive is part of the Open Metaverse Library, which is a collection of libraries used to create virtual worlds.hollowPath = new List (); hollowPath.Add(new Vector3(0, 0, 0)); hollowPath.Add(new Vector3(0, 0, 1)); Primitive prim = Primitive.CreateTube(hollowPath, 0.1f, 0.25f, true);