An object which knows how to draw itself in the background preview and uses a transform to take advantage of the GPU to alter that background visualization. The original geometry remains unaltered, only the visualization is transformed.
Inheritance: IGraphicItem
Example #1
0
        /// <summary>
        /// Create a TranformableExample class which stores a Geometry object and a Transform.
        /// </summary>
        /// <param name="geometry"> a geometry object</param>
        /// <returns></returns>
        public static TransformableExample ByGeometry(Autodesk.DesignScript.Geometry.Geometry geometry)
        {
            var newTransformableThing = new TransformableExample(geometry);

            return(newTransformableThing);
        }
 /// <summary>
 /// Create a TranformableExample class which stores a Geometry object and a Transform.
 /// </summary>
 /// <param name="geometry"> a geometry object</param>
 /// <returns></returns>
 public static TransformableExample ByGeometry(Autodesk.DesignScript.Geometry.Geometry geometry)
 {
     var newTransformableThing = new TransformableExample(geometry);
     return newTransformableThing;
 }