forked from K0lb3/UnityPy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMesh.pyi
More file actions
50 lines (47 loc) · 2.18 KB
/
Copy pathMesh.pyi
File metadata and controls
50 lines (47 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
from typing import List, Optional, Union
from UnityPy.classes.generated import (AABB, BlendShapeData, BoneInfluence,
BoneWeights4, CompressedMesh,
MeshBlendShape, MeshBlendShapeVertex,
MinMaxAABB, NamedObject, StreamingInfo,
SubMesh, VariableBoneCountWeights,
VertexData)
from UnityPy.classes.math import (ColorRGBA, Matrix4x4f, Vector2f, Vector3f,
Vector4f)
class Mesh(NamedObject):
m_BindPose: List[Matrix4x4f]
m_CompressedMesh: CompressedMesh
m_IndexBuffer: List[int]
m_LocalAABB: AABB
m_MeshCompression: int
m_MeshUsageFlags: int
m_Name: str
m_SubMeshes: List[SubMesh]
m_BakedConvexCollisionMesh: Optional[List[int]] = None
m_BakedTriangleCollisionMesh: Optional[List[int]] = None
m_BoneNameHashes: Optional[List[int]] = None
m_BonesAABB: Optional[List[MinMaxAABB]] = None
m_CollisionTriangles: Optional[List[int]] = None
m_CollisionVertexCount: Optional[int] = None
m_Colors: Optional[List[ColorRGBA]] = None
m_CookingOptions: Optional[int] = None
m_IndexFormat: Optional[int] = None
m_IsReadable: Optional[bool] = None
m_KeepIndices: Optional[bool] = None
m_KeepVertices: Optional[bool] = None
m_MeshMetrics_0_: Optional[float] = None
m_MeshMetrics_1_: Optional[float] = None
m_Normals: Optional[List[Vector3f]] = None
m_RootBoneNameHash: Optional[int] = None
m_ShapeVertices: Optional[List[MeshBlendShapeVertex]] = None
m_Shapes: Optional[Union[BlendShapeData, List[MeshBlendShape]]] = None
m_Skin: Optional[Union[List[BoneInfluence], List[BoneWeights4]]] = None
m_StreamCompression: Optional[int] = None
m_StreamData: Optional[StreamingInfo] = None
m_Tangents: Optional[List[Vector4f]] = None
m_UV: Optional[List[Vector2f]] = None
m_UV1: Optional[List[Vector2f]] = None
m_Use16BitIndices: Optional[int] = None
m_VariableBoneCountWeights: Optional[VariableBoneCountWeights] = None
m_VertexData: Optional[VertexData] = None
m_Vertices: Optional[List[Vector3f]] = None
def export(self, format: str = "obj") -> str: ...