|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Settings applied when building a mesh. More...
Public Member Functions | |
Functions | |
| 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. | |
| void | SetbUseMikkTSpace (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 | 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. | |
| void | SetbRemoveDegenerates (bool Value) |
| If true, degenerate triangles will be removed. | |
| bool | GetbBuildReversedIndexBuffer () const |
| Required to optimize mesh in mirrored transform. Double index buffer size. | |
| void | SetbBuildReversedIndexBuffer (bool Value) |
| Required to optimize mesh in mirrored transform. Double index buffer size. | |
| FMeshBuildSettings & | opAssign (FMeshBuildSettings Other) |
| void | SetbUseHighPrecisionTangentBasis (bool Value) |
| If true, Tangents will be stored at 16 bit vs 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 | 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. | |
| bool | GetbGenerateLightmapUVs () const |
| void | SetbGenerateLightmapUVs (bool Value) |
| bool | GetbUseHalfPrecisionPosition () const |
| If true, Vertex positions will be stored at half floating point precision. | |
| void | SetbUseHalfPrecisionPosition (bool Value) |
| If true, Vertex positions will be stored at half floating point precision. | |
| bool | GetbGenerateDistanceFieldAsIfTwoSided () const |
| Whether to generate the distance field treating every triangle hit as a front face. When enabled prevents the distance field from being discarded due to the mesh being open, but also lowers Distance Field AO quality. | |
| void | SetbGenerateDistanceFieldAsIfTwoSided (bool Value) |
| Whether to generate the distance field treating every triangle hit as a front face. When enabled prevents the distance field from being discarded due to the mesh being open, but also lowers Distance Field AO quality. | |
| bool | GetbSupportFaceRemap () const |
| void | SetbSupportFaceRemap (bool Value) |
Public Attributes | |
BuildSettings | |
| UStaticMesh | DistanceFieldReplacementMesh |
| int | SrcLightmapIndex |
| int | DstLightmapIndex |
| FVector | BuildScale3D |
| The local scale applied when building the mesh. | |
| float32 | DistanceFieldResolutionScale |
| Scale to apply to the mesh when allocating the distance field volume texture. The default scale is 1, which is assuming that the mesh will be placed unscaled in the world. | |
| int | MinLightmapResolution |
| int | MaxLumenMeshCards |
| Max Lumen mesh cards to generate for this mesh. More cards means that surface will have better coverage, but will result in increased runtime overhead. Set to 0 in order to disable mesh card generation for this mesh. Default is 12. | |
Variables | |
| bool | bRecomputeNormals |
| bool | bRecomputeTangents |
| bool | bUseMikkTSpace |
| bool | bComputeWeightedNormals |
| bool | bRemoveDegenerates |
| bool | bBuildReversedIndexBuffer |
| bool | bUseHighPrecisionTangentBasis |
| bool | bUseFullPrecisionUVs |
| bool | bUseBackwardsCompatibleF16TruncUVs |
| bool | bGenerateLightmapUVs |
| bool | bUseHalfPrecisionPosition |
| bool | bGenerateDistanceFieldAsIfTwoSided |
| bool | bSupportFaceRemap |
Settings applied when building a mesh.
| bool GetbBuildReversedIndexBuffer | ( | ) | const |
Required to optimize mesh in mirrored transform. Double index buffer size.
| 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 GetbGenerateDistanceFieldAsIfTwoSided | ( | ) | const |
Whether to generate the distance field treating every triangle hit as a front face. When enabled prevents the distance field from being discarded due to the mesh being open, but also lowers Distance Field AO quality.
| bool GetbGenerateLightmapUVs | ( | ) | const |
| 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 GetbSupportFaceRemap | ( | ) | const |
| 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, Vertex positions will be stored at half floating point 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.
| FMeshBuildSettings & opAssign | ( | FMeshBuildSettings | Other | ) |
| void SetbBuildReversedIndexBuffer | ( | bool | Value | ) |
Required to optimize mesh in mirrored transform. Double index buffer size.
| 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 SetbGenerateDistanceFieldAsIfTwoSided | ( | bool | Value | ) |
Whether to generate the distance field treating every triangle hit as a front face. When enabled prevents the distance field from being discarded due to the mesh being open, but also lowers Distance Field AO quality.
| void SetbGenerateLightmapUVs | ( | bool | Value | ) |
| 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 SetbSupportFaceRemap | ( | bool | Value | ) |
| 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, Vertex positions will be stored at half floating point 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 bBuildReversedIndexBuffer |
| bool bComputeWeightedNormals |
| bool bGenerateDistanceFieldAsIfTwoSided |
| bool bGenerateLightmapUVs |
| bool bRecomputeNormals |
| bool bRecomputeTangents |
| bool bRemoveDegenerates |
| bool bSupportFaceRemap |
| FVector BuildScale3D |
The local scale applied when building the mesh.
| bool bUseBackwardsCompatibleF16TruncUVs |
| bool bUseFullPrecisionUVs |
| bool bUseHalfPrecisionPosition |
| bool bUseHighPrecisionTangentBasis |
| bool bUseMikkTSpace |
| UStaticMesh DistanceFieldReplacementMesh |
| float32 DistanceFieldResolutionScale |
Scale to apply to the mesh when allocating the distance field volume texture. The default scale is 1, which is assuming that the mesh will be placed unscaled in the world.
| int DstLightmapIndex |
| int MaxLumenMeshCards |
Max Lumen mesh cards to generate for this mesh. More cards means that surface will have better coverage, but will result in increased runtime overhead. Set to 0 in order to disable mesh card generation for this mesh. Default is 12.
| int MinLightmapResolution |
| int SrcLightmapIndex |