C# 클래스 SampleLibraryZeroTouch.Examples.TransformableExample

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.
상속: IGraphicItem
파일 보기 프로젝트 열기: DynamoDS/DynamoSamples 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Tessellate void
TransformableExample System

공개 메소드들

메소드 설명
ByGeometry ( Autodesk geometry ) : TransformableExample

Create a TranformableExample class which stores a Geometry object and a Transform.

TransformObject ( Autodesk.DesignScript.Geometry.CoordinateSystem transform ) : TransformableExample

This method sets the transform on the object and returns a reference to the object so the tessellate method is called and the new visualization shows in the background preview.

비공개 메소드들

메소드 설명
Tessellate ( IRenderPackage package, TessellationParameters parameters ) : void
TransformableExample ( Geometry geo ) : System

메소드 상세

ByGeometry() 공개 정적인 메소드

Create a TranformableExample class which stores a Geometry object and a Transform.
public static ByGeometry ( Autodesk geometry ) : TransformableExample
geometry Autodesk a geometry object
리턴 TransformableExample

TransformObject() 공개 메소드

This method sets the transform on the object and returns a reference to the object so the tessellate method is called and the new visualization shows in the background preview.
public TransformObject ( Autodesk.DesignScript.Geometry.CoordinateSystem transform ) : TransformableExample
transform Autodesk.DesignScript.Geometry.CoordinateSystem
리턴 TransformableExample