NurbsSurface

NurbsSurface class

NurbsSurface 로 표현되는 표면이다.NURBS(비균일 유리 기저 스플라인), ANurbsSurface 두 가지로 정의된다NurbsDirectionU 그리고V . 제어점의 w 성분은 방향의 종류가 무엇이든 제어점의 가중치로 사용됩니다.TwoDimensional 또는ThreeDimensional

public class NurbsSurface : Geometry, IMeshConvertible

생성자

이름설명
NurbsSurface()의 새 인스턴스를 초기화합니다.NurbsSurface 클래스.
NurbsSurface(string)의 새 인스턴스를 초기화합니다.NurbsSurface 클래스.

속성

이름설명
CastShadows { get; set; }이 지오메트리가 shadow 를 투사할 수 있는지 여부를 가져오거나 설정합니다.
ControlPoints { get; }모든 제어점 가져오기
Deformers { get; }이 지오메트리와 관련된 모든 디포머를 가져옵니다.
Excluded { get; set; }내보내는 동안 이 엔터티를 제외할지 여부를 가져오거나 설정합니다.
virtual Name { get; set; }이름을 가져오거나 설정합니다.
ParentNode { get; set; }첫 번째 부모 노드를 가져오거나 설정합니다. 첫 번째 부모 노드를 설정하면 이 엔터티는 다른 부모 노드에서 분리됩니다.
ParentNodes { get; }모든 부모 노드 가져오기
Properties { get; }모든 속성의 컬렉션을 가져옵니다.
ReceiveShadows { get; set; }이 지오메트리가 그림자를 받을 수 있는지 여부를 가져오거나 설정합니다.
Scene { get; }이 개체가 속한 장면을 가져옵니다
U { get; }NURBS 표면의 U 방향을 가져옵니다
V { get; }NURBS 표면의 V 방향을 가져옵니다
VertexElements { get; }모든 정점 요소를 가져옵니다
Visible { get; set; }지오메트리가 표시되는지 여부를 가져오거나 설정합니다.

행동 양식

이름설명
AddElement(VertexElement)기존 정점 요소를 현재 geometry 에 추가합니다.
CreateElement(VertexElementType)지정된 유형의 꼭지점 요소를 생성하고 기하학에 추가합니다.
CreateElement(VertexElementType, MappingMode, ReferenceMode)지정된 유형의 꼭지점 요소를 생성하고 기하학에 추가합니다.
CreateElementUV(TextureMapping)생성VertexElementUV 주어진 텍스처 매핑 type.
CreateElementUV(TextureMapping, MappingMode, ReferenceMode)생성VertexElementUV 주어진 텍스처 매핑 type.
FindProperty(string)속성을 찾습니다. 동적 속성(CreateDynamicProperty/SetProperty에 의해 생성됨) 또는 고유 속성(이름으로 식별됨) 일 수 있습니다.
GetBoundingBox()오브젝트 공간 좌표계에서 현재 엔티티의 경계 상자를 가져옵니다.
GetDeformers<T>()
GetElement(VertexElementType)지정된 type 로 정점 요소를 가져옵니다.
virtual GetEntityRendererKey()렌더러 에 등록된 엔티티 렌더러의 키를 가져옵니다.
GetProperty(string)지정된 property 의 값을 가져옵니다.
GetVertexElementOfUV(TextureMapping)가져오기VertexElementUV 주어진 텍스처 매핑 type 가 있는 인스턴스
RemoveProperty(Property)동적 속성을 제거합니다.
RemoveProperty(string)name 로 식별되는 지정된 속성을 제거합니다.
SetProperty(string, object)지정된 property 의 값을 설정합니다.
ToMesh()NURBS 표면을 mesh 로 변환

또한보십시오