|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Settings applied when building a mesh. More...
Public Member Functions | |
Functions | |
| void | SetbRemoveDegenerates (bool Value) |
| If true, degenerate triangles will be removed. | |
| bool | GetbRecomputeNormals () const |
| If true, normals in the raw mesh are ignored and recomputed. | |
| void | SetbRecomputeNormals (bool Value) |
| If true, normals in the raw mesh are ignored and recomputed. | |
| bool | GetbRecomputeTangents () const |
| If true, tangents in the raw mesh are ignored and recomputed. | |
| void | SetbRecomputeTangents (bool Value) |
| If true, tangents in the raw mesh are ignored and recomputed. | |
| bool | GetbUseMikkTSpace () const |
| If true, degenerate triangles will be removed. | |
| void | SetbUseMikkTSpace (bool Value) |
| If true, degenerate triangles will be removed. | |
| bool | GetbComputeWeightedNormals () const |
| If true, we will use the surface area and the corner angle of the triangle as a ratio when computing the normals. | |
| void | SetbComputeWeightedNormals (bool Value) |
| If true, we will use the surface area and the corner angle of the triangle as a ratio when computing the normals. | |
| bool | GetbRemoveDegenerates () const |
| If true, degenerate triangles will be removed. | |
| FSkeletalMeshBuildSettings & | opAssign (FSkeletalMeshBuildSettings Other) |
| bool | GetbUseHighPrecisionTangentBasis () const |
| If true, Tangents will be stored at 16 bit vs 8 bit precision. | |
| void | SetbUseHighPrecisionTangentBasis (bool Value) |
| If true, Tangents will be stored at 16 bit vs 8 bit precision. | |
| bool | GetbUseHighPrecisionSkinWeights () const |
| Use 16-bit precision for rendering skin weights, instead of 8-bit precision. | |
| void | SetbUseHighPrecisionSkinWeights (bool Value) |
| Use 16-bit precision for rendering skin weights, instead of 8-bit precision. | |
| bool | GetbUseFullPrecisionUVs () const |
| If true, UVs will be stored at full floating point precision. | |
| void | SetbUseFullPrecisionUVs (bool Value) |
| If true, UVs will be stored at full floating point precision. | |
| bool | GetbUseHalfPrecisionPosition () const |
| If true, use 16 bit float for positions to save memory. If false, uses 32 bit floats. | |
| void | SetbUseHalfPrecisionPosition (bool Value) |
| If true, use 16 bit float for positions to save memory. If false, uses 32 bit floats. | |
| bool | GetbUseBackwardsCompatibleF16TruncUVs () const |
| If true, UVs will use backwards-compatible F16 conversion with truncation for legacy meshes. | |
| void | SetbUseBackwardsCompatibleF16TruncUVs (bool Value) |
| If true, UVs will use backwards-compatible F16 conversion with truncation for legacy meshes. | |
Public Attributes | |
BuildSettings | |
| float32 | ThresholdTangentNormal |
| Threshold use to decide if two normal, tangents or bi-normals are equal. | |
| float32 | ThresholdUV |
| Threshold use to decide if two UVs are equal. | |
| float32 | MorphThresholdPosition |
| Threshold to compare vertex position equality when computing morph target deltas. | |
| int | BoneInfluenceLimit |
| The maximum number of bone influences to allow each vertex in this mesh to use. | |
| float32 | ThresholdPosition |
| Threshold use to decide if two vertex position are equal. | |
Variables | |
| bool | bRecomputeTangents |
| bool | bRecomputeNormals |
| bool | bUseMikkTSpace |
| bool | bComputeWeightedNormals |
| bool | bRemoveDegenerates |
| bool | bUseHighPrecisionTangentBasis |
| bool | bUseHighPrecisionSkinWeights |
| bool | bUseFullPrecisionUVs |
| bool | bUseHalfPrecisionPosition |
| bool | bUseBackwardsCompatibleF16TruncUVs |
Settings applied when building a mesh.
| bool GetbComputeWeightedNormals | ( | ) | const |
If true, we will use the surface area and the corner angle of the triangle as a ratio when computing the normals.
| bool GetbRecomputeNormals | ( | ) | const |
If true, normals in the raw mesh are ignored and recomputed.
| bool GetbRecomputeTangents | ( | ) | const |
If true, tangents in the raw mesh are ignored and recomputed.
| bool GetbRemoveDegenerates | ( | ) | const |
If true, degenerate triangles will be removed.
| bool GetbUseBackwardsCompatibleF16TruncUVs | ( | ) | const |
If true, UVs will use backwards-compatible F16 conversion with truncation for legacy meshes.
| bool GetbUseFullPrecisionUVs | ( | ) | const |
If true, UVs will be stored at full floating point precision.
| bool GetbUseHalfPrecisionPosition | ( | ) | const |
If true, use 16 bit float for positions to save memory. If false, uses 32 bit floats.
| bool GetbUseHighPrecisionSkinWeights | ( | ) | const |
Use 16-bit precision for rendering skin weights, instead of 8-bit precision.
| bool GetbUseHighPrecisionTangentBasis | ( | ) | const |
If true, Tangents will be stored at 16 bit vs 8 bit precision.
| bool GetbUseMikkTSpace | ( | ) | const |
If true, degenerate triangles will be removed.
| FSkeletalMeshBuildSettings & opAssign | ( | FSkeletalMeshBuildSettings | Other | ) |
| void SetbComputeWeightedNormals | ( | bool | Value | ) |
If true, we will use the surface area and the corner angle of the triangle as a ratio when computing the normals.
| void SetbRecomputeNormals | ( | bool | Value | ) |
If true, normals in the raw mesh are ignored and recomputed.
| void SetbRecomputeTangents | ( | bool | Value | ) |
If true, tangents in the raw mesh are ignored and recomputed.
| void SetbRemoveDegenerates | ( | bool | Value | ) |
If true, degenerate triangles will be removed.
| void SetbUseBackwardsCompatibleF16TruncUVs | ( | bool | Value | ) |
If true, UVs will use backwards-compatible F16 conversion with truncation for legacy meshes.
| void SetbUseFullPrecisionUVs | ( | bool | Value | ) |
If true, UVs will be stored at full floating point precision.
| void SetbUseHalfPrecisionPosition | ( | bool | Value | ) |
If true, use 16 bit float for positions to save memory. If false, uses 32 bit floats.
| void SetbUseHighPrecisionSkinWeights | ( | bool | Value | ) |
Use 16-bit precision for rendering skin weights, instead of 8-bit precision.
| void SetbUseHighPrecisionTangentBasis | ( | bool | Value | ) |
If true, Tangents will be stored at 16 bit vs 8 bit precision.
| void SetbUseMikkTSpace | ( | bool | Value | ) |
If true, degenerate triangles will be removed.
| bool bComputeWeightedNormals |
| int BoneInfluenceLimit |
The maximum number of bone influences to allow each vertex in this mesh to use.
If set higher than the limit determined by the project settings, it has no effect.
If set to 0, the value is taken from the DefaultBoneInfluenceLimit project setting.
| bool bRecomputeNormals |
| bool bRecomputeTangents |
| bool bRemoveDegenerates |
| bool bUseBackwardsCompatibleF16TruncUVs |
| bool bUseFullPrecisionUVs |
| bool bUseHalfPrecisionPosition |
| bool bUseHighPrecisionSkinWeights |
| bool bUseHighPrecisionTangentBasis |
| bool bUseMikkTSpace |
| float32 MorphThresholdPosition |
Threshold to compare vertex position equality when computing morph target deltas.
| float32 ThresholdPosition |
Threshold use to decide if two vertex position are equal.
| float32 ThresholdTangentNormal |
Threshold use to decide if two normal, tangents or bi-normals are equal.
| float32 ThresholdUV |
Threshold use to decide if two UVs are equal.