Cesium for Unity 1.15.4
Loading...
Searching...
No Matches
TestGltfModel.cs
Go to the documentation of this file.
1
2using Reinterop;
3using System;
4using Unity.Mathematics;
5
6namespace CesiumForUnity
7{
8 [ReinteropNativeImplementation("CesiumForUnityNative::TestGltfModelImpl", "TestGltfModelImpl.h")]
9 internal partial class TestGltfModel
10 {
11 #region EXT_mesh_features
12
13 public partial CesiumFeatureIdAttribute AddFeatureIdAttribute(UInt16[] featureIds, Int64 featureCount);
14
15 public partial CesiumFeatureIdTexture AddFeatureIdTexture(UInt16[] featureIds, Int64 featureCount, float2[] uvs);
16 #endregion
17
18 #region EXT_structural_metadata
19 public partial CesiumPropertyTableProperty AddBooleanPropertyTableProperty(
20 bool[] values);
21
22 public partial CesiumPropertyTableProperty AddIntPropertyTableProperty(
23 int[] values, bool normalized = false);
24
25 public partial CesiumPropertyTableProperty AddDoublePropertyTableProperty(
26 double[] values);
27
28 public partial CesiumPropertyTableProperty AddVec2PropertyTableProperty(
29 float2[] values);
30
31 public partial CesiumPropertyTableProperty AddVec3PropertyTableProperty(
32 float3[] values);
33
34 public partial CesiumPropertyTableProperty AddVec4PropertyTableProperty(
35 float4[] values);
36
37 public partial CesiumPropertyTableProperty AddMat2PropertyTableProperty(
38 float2x2[] values);
39
40 public partial CesiumPropertyTableProperty AddMat3PropertyTableProperty(
41 float3x3[] values);
42
43 public partial CesiumPropertyTableProperty AddMat4PropertyTableProperty(
44 float4x4[] values);
45
46 public partial CesiumPropertyTableProperty AddStringPropertyTableProperty(
47 string[] values);
48
49 public partial CesiumPropertyTableProperty AddFixedLengthArrayPropertyTableProperty(
50 double[] values, Int64 count);
51
52 public partial CesiumPropertyTableProperty AddVariableLengthArrayPropertyTableProperty(
53 double[] values, UInt16[] offsets);
54 #endregion
55 }
56}