PointCloud

개요

PointCloud은 Aspose.3D FOSS for .NET의 클래스이며, Geometry, INamedObject를 상속합니다.

포인트 클라우드에는 토폴로지 정보가 없고 제어점과 정점 요소만 포함됩니다.

이 클래스는 .NET 프로그램에서 PointCloud 객체를 다루기 위한 25개의 메서드를 제공합니다. 사용 가능한 메서드에는 A3DObject, AddElement, CreateElement, CreateElementUV, Entity, FindProperty, FromGeometry, Geometry, GetBoundingBox, GetDeformers, GetElement, GetEntityRendererKey 및 추가 6개의 메서드가 포함됩니다. 모든 공개 멤버는 Aspose.3D FOSS for .NET 패키지를 설치한 후 .NET 애플리케이션에서 사용할 수 있습니다. 속성: CastShadows, ControlPoints, Deformers, Dimension, Excluded, Name 및 추가 7개.

속성

이름유형액세스설명
DimensionVector2?읽기/쓰기점 구름에 dimension 값이 존재하면, 이는 organized point cloud임을 나타냅니다.
Visiblebool읽기/쓰기지오메트리가 보이는지 여부를 가져오거나 설정합니다.
DeformersIList<Deformer>읽기이 geometry와 연결된 모든 디포머를 가져옵니다.
ControlPointsIArrayList<Vector4>읽기모든 제어점을 가져옵니다
CastShadowsbool읽기/쓰기이 지오메트리가 그림자를 드리울 수 있는지 여부를 가져오거나 설정합니다.
ReceiveShadowsbool읽기/쓰기이 기하학이 그림자를 받을 수 있는지 여부를 가져오거나 설정합니다.
VertexElementsIList<VertexElement>읽기모든 정점 요소를 가져옵니다
Excludedbool읽기/쓰기내보내기 중에 이 엔터티를 제외할지 여부를 가져오거나 설정합니다.
ParentNodesList<Node>읽기모든 부모 노드를 가져옵니다. 엔터티는 기하학 인스턴싱을 위해 여러 부모 노드에 연결될 수 있습니다.
ParentNodeNode읽기/쓰기첫 번째 부모 노드를 가져오거나 설정합니다. 첫 번째 부모 노드를 설정하면 이 엔터티는 다른 부모 노드와의 연결이 해제됩니다.
SceneScene읽기이 객체가 속한 씬을 가져옵니다
Namestring읽기/쓰기이름을 가져오거나 설정합니다.
PropertiesPropertyCollection읽기모든 속성의 컬렉션을 가져옵니다.

메서드

시그니처설명
PointCloud()생성자
PointCloud(name: string)생성자
GetEntityRendererKey()렌더러에 등록된 엔티티 렌더러의 키를 가져옵니다
FromGeometry(g: Geometry)FOSS 에디션에서는 구현되지 않았으며 — 런타임에 예외를 발생시킵니다. 지오메트리 객체에서 새로운 PointCloud 인스턴스를 생성합니다
FromGeometry(g: Geometry, density: int)FOSS 에디션에서는 구현되지 않았으며 — 런타임에 예외를 발생시킵니다. 지오메트리 객체에서 새로운 포인트 클라우드 인스턴스를 생성합니다.
Geometry(name: string)Geometry 클래스의 새 인스턴스를 초기화합니다.
GetDeformers()모든 디포머를 가져옵니다
GetElement(type: VertexElementType)지정된 유형의 정점 요소를 가져옵니다
GetVertexElementOfUV(textureMapping: TextureMapping)주어진 텍스처 매핑 유형으로 VertexElementUV 인스턴스를 가져옵니다.
CreateElement(type: VertexElementType)지정된 유형으로 정점 요소를 생성하고 이를 기하학에 추가합니다.
AddElement(element: VertexElement)기존 정점 요소를 현재 기하학에 추가합니다.
CreateElement(type: VertexElementType, mappingMode: MappingMode, referenceMode: ReferenceMode)지정된 유형으로 정점 요소를 생성하고 이를 기하학에 추가합니다.
CreateElementUV(uvMapping: TextureMapping)주어진 텍스처 매핑 유형으로 VertexElementUV를 생성합니다.
CreateElementUV(uvMapping: TextureMapping, mappingMode: MappingMode, referenceMode: ReferenceMode)주어진 텍스처 매핑 유형으로 VertexElementUV를 생성합니다.
Entity(name: string)Entity 클래스의 새 인스턴스를 초기화합니다.
GetBoundingBox()현재 엔터티의 객체 공간 좌표계에서 바운딩 박스를 가져옵니다.
SceneObject(name: string)기본 이름으로 SceneObject를 초기화합니다.
SceneObject()SceneObject를 초기화합니다.
A3DObject()이름 없이 A3DObject 클래스의 새 인스턴스를 초기화합니다.
A3DObject(name: string)A3DObject 클래스의 새 인스턴스를 초기화합니다.
RemoveProperty(property: Property)동적 속성을 제거합니다.
RemoveProperty(property: string)이름으로 식별된 지정된 속성을 제거합니다
GetProperty(property: string)지정된 속성의 값을 가져옵니다
SetProperty(property: string, value: object?)지정된 속성의 값을 설정합니다
FindProperty(propertyName: string)속성을 찾습니다.

참조

 한국어