VertexElementUV

개요

VertexElementUV은 Aspose.3D FOSS에서 TypeScript를 위한 클래스입니다. 상속 대상: VertexElementFVector.

VertexElementUV.constructor는 선택적인 텍스처 매핑, 이름, 매핑 및 레퍼런스 모드와 함께 UV 요소를 생성합니다.

이 클래스는 TypeScript 프로그램의 VertexElementUV 객체를 위해 7개의 메서드를 선언합니다. 사용 가능한 메서드에는: addData, clear, constructor, copyTo, setData, setIndices가 포함됩니다. 공개 멤버는 Aspose.3D FOSS for TypeScript 패키지를 설치한 후 모든 TypeScript 애플리케이션에서 접근할 수 있습니다. 속성: data, indices, mappingMode, name, referenceMode, textureMapping, 그리고 2개가 더 있습니다.

속성

이름유형액세스설명
textureMappingTextureMapping읽기텍스처 매핑을 가져옵니다.
dataFVector4[]읽기데이터를 가져옵니다.
uvDataFVector2[]읽기uv 데이터를 가져옵니다.
indicesnumber[]읽기인덱스를 가져옵니다.
vertexElementTypeVertexElementType읽기버텍스 요소 유형을 가져옵니다.
namestring읽기/쓰기이름을 가져옵니다.
mappingModeMappingMode읽기/쓰기매핑 모드를 가져옵니다.
referenceModeReferenceMode읽기/쓰기참조 모드를 가져옵니다.

메서드

시그니처설명
`constructor(textureMapping: TextureMappingnull, name: string, mappingMode: MappingMode
`addData(data: FVector2[]FVector3[]
`constructor(elementType: VertexElementType, name: string, mappingMode: MappingModenull, referenceMode: ReferenceMode
`setData(data: FVector4[]FVector3[]
setIndices(data: number[])인덱스 값을 설정합니다.
clear()이 VertexElementUV 인스턴스에서 clear를 호출합니다.
copyTo(target: VertexElementFVector)이 VertexElementUV 인스턴스에서 copyTo(target)를 호출합니다.

참조

 한국어