Plane
개요
Plane은 Aspose.3D FOSS for .NET의 클래스입니다. 상속 대상: Primitive, INamedObject, IMeshConvertible.
파라미터화된 평면.
이 클래스는 .NET 프로그램에서 Plane 객체를 다루기 위한 26개의 메서드를 제공합니다. 사용 가능한 메서드에는 A3DObject, AddElement, CreateElement, CreateElementUV, Entity, FindProperty, Geometry, GetBoundingBox, GetDeformers, GetElement, GetEntityRendererKey, GetProperty 및 추가 7개의 메서드가 포함됩니다. 모든 공개 멤버는 Aspose.3D FOSS for .NET 패키지를 설치한 후 모든 .NET 애플리케이션에서 접근할 수 있습니다. 속성: CastShadows, ControlPoints, Deformers, Excluded, Length, LengthSegments 및 추가 11개.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
Up | Vector3 | 읽기/쓰기 | 평면의 up vector를 가져오거나 설정합니다. 기본값은 (0, 1, 0)이며, 이는 평면 생성에 영향을 줍니다. |
Length | double | 읽기/쓰기 | Plane의 길이를 가져오거나 설정합니다. |
Width | double | 읽기/쓰기 | 플레인의 너비를 가져오거나 설정합니다. |
LengthSegments | int | 읽기/쓰기 | 길이 세그먼트를 가져오거나 설정합니다. |
WidthSegments | int | 읽기/쓰기 | 너비 세그먼트를 가져오거나 설정합니다. |
CastShadows | bool | 읽기/쓰기 | 이 기하학이 그림자를 드리울 수 있는지 여부를 가져오거나 설정합니다. |
ReceiveShadows | bool | 읽기/쓰기 | 이 기하학이 그림자를 받을 수 있는지 여부를 가져오거나 설정합니다. |
Visible | bool | 읽기/쓰기 | 기하학이 보이는지 여부를 가져오거나 설정합니다 |
Deformers | IList<Deformer> | 읽기 | 이 지오메트리와 연결된 모든 디포머를 가져옵니다. |
ControlPoints | IArrayList<Vector4> | 읽기 | 모든 제어점을 가져옵니다 |
VertexElements | IList<VertexElement> | 읽기 | 모든 정점 요소를 가져옵니다 |
Excluded | bool | 읽기/쓰기 | 내보내는 동안 이 엔터티를 제외할지 여부를 가져오거나 설정합니다. |
ParentNodes | List<Node> | 읽기 | 모든 상위 노드를 가져옵니다. 엔터티는 지오메트리 인스턴싱을 위해 여러 상위 노드에 연결될 수 있습니다. |
ParentNode | Node | 읽기/쓰기 | 첫 번째 상위 노드를 가져오거나 설정합니다. 첫 번째 상위 노드를 설정하면, 이 엔터티는 다른 상위 노드와 분리됩니다. |
Scene | Scene | 읽기 | 이 객체가 속한 씬을 가져옵니다. |
Name | string | 읽기/쓰기 | 이름을 가져오거나 설정합니다. |
Properties | PropertyCollection | 읽기 | 모든 속성의 컬렉션을 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
Plane() | Plane의 새로운 인스턴스를 기본 크기 1x1로 초기화합니다. |
Plane(length: double, width: double) | Plane의 새 인스턴스를 초기화합니다. |
Plane(name: string, length: double, width: double, lengthSegments: int, widthSegments: int) | Plane의 새 인스턴스를 초기화합니다. |
ToMesh() | 현재 객체를 메시로 변환 |
Primitive(name: string) | 클래스의 새 인스턴스를 초기화합니다. |
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() | 현재 엔티티의 객체 공간 좌표계에서 경계 상자를 가져옵니다. |
GetEntityRendererKey() | 렌더러에 등록된 엔티티 렌더러의 키를 가져옵니다. |
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) | 속성을 찾습니다. |