Class
SurfaceGenerator
: MeshGenerator : SplineUser : MonoBehaviour : Behaviour : Component : Object : Object0x00x02D8
Members 19
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | _expand | float | Private | — | |
| 0x04 | _extrude | float | Private | — | |
| 0x08 | _sideUvScale | Vector2 | Private | — | |
| 0x08 | _sideUvOffset | Vector2 | Private | — | |
| 0x04 | _sideUvRotation | float | Private | — | |
| 0x0254 | 0x04 | padding / unreflected | |||
| 0x08 | _extrudeSpline | SplineComputer | Private | — | |
| 0x0C | _extrudeOffset | Vector3 | Private | — | |
| 0x026C | 0x04 | padding / unreflected | |||
| 0x08 | extrudeResults | SplineSample[] | Private | — | |
| 0x08 | identityVertices | Vector3[] | Private | — | |
| 0x08 | identityNormals | Vector3[] | Private | — | |
| 0x08 | projectedVerts | Vector2[] | Private | — | |
| 0x08 | surfaceTris | int[] | Private | — | |
| 0x08 | wallTris | int[] | Private | — | |
| 0x08 | _extrudeFrom | double | Private | — | |
| 0x08 | _extrudeTo | double | Private | — | |
| 0x01 | _uniformUvs | bool | Private | — | |
| 0x02B1 | 0x03 | padding / unreflected | |||
| 0x0C | _trsRight | Vector3 | Private | — | |
| 0x0C | _trsUp | Vector3 | Private | — | |
| 0x0C | _trsForward | Vector3 | Private | — | |
Inherited from MeshGenerator 29
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | UNITY_16_VERTEX_LIMIT | int | Static+2 flags | -712188736 |
| 0x01 | _baked | bool | Private | — | |
| 0x01 | _markDynamic | bool | Private | — | |
| 0x01AA | 0x02 | padding / unreflected | |||
| 0x04 | _size | float | Private | — | |
| 0x10 | _color | Color | Private | — | |
| 0x0C | _offset | Vector3 | Private | — | |
| 0x04 | _normalMethod | NormalMethod | Private | — | |
| 0x01 | _calculateTangents | bool | Private | — | |
| 0x01 | _useSplineSize | bool | Private | — | |
| 0x01 | _useSplineColor | bool | Private | — | |
| 0x01D3 | 0x01 | padding / unreflected | |||
| 0x04 | _rotation | float | Private | — | |
| 0x01 | _flipFaces | bool | Private | — | |
| 0x01 | _doubleSided | bool | Private | — | |
| 0x01DA | 0x02 | padding / unreflected | |||
| 0x04 | _uvMode | UVMode | Private | — | |
| 0x08 | _uvScale | Vector2 | Private | — | |
| 0x08 | _uvOffset | Vector2 | Private | — | |
| 0x04 | _uvRotation | float | Private | — | |
| 0x04 | _meshIndexFormat | IndexFormat | Private | — | |
| 0x08 | _bakedMesh | Mesh | Private | — | |
| 0x04 | colliderUpdateRate | float | Public | — | |
| 0x01 | _updateCollider | bool | 1 flags | — | |
| 0x0205 | 0x03 | padding / unreflected | |||
| 0x04 | _lastUpdateTime | float | 1 flags | — | |
| 0x04 | _vDist | float | Private | — | |
| 0x08 | __uvs | Vector2 | Static+1 flags | — | |
| 0x08 | <_tsMesh>k__BackingField | TS_Mesh | Private | — | |
| 0x08 | _mesh | Mesh | 1 flags | — | |
| 0x08 | filter | MeshFilter | 1 flags | — | |
| 0x08 | meshRenderer | MeshRenderer | 1 flags | — | |
| 0x08 | meshCollider | MeshCollider | 1 flags | — | |
Inherited from SplineUser 28
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | updateMethod | UpdateMethod | Public | — | |
| 0x001C | 0x04 | padding / unreflected | |||
| 0x08 | _spline | SplineComputer | Private | — | |
| 0x01 | _autoUpdate | bool | Private | — | |
| 0x0029 | 0x07 | padding / unreflected | |||
| 0x08 | _rotationModifier | RotationModifier | 1 flags | — | |
| 0x08 | _offsetModifier | OffsetModifier | 1 flags | — | |
| 0x08 | _colorModifier | ColorModifier | 1 flags | — | |
| 0x08 | _sizeModifier | SizeModifier | 1 flags | — | |
| 0x40 | _clipFromSample | SplineSample | Private | — | |
| 0x40 | _clipToSample | SplineSample | Private | — | |
| 0x01 | _loopSamples | bool | Private | — | |
| 0x00D1 | 0x07 | padding / unreflected | |||
| 0x08 | _clipFrom | double | Private | — | |
| 0x08 | _clipTo | double | Private | — | |
| 0x04 | animClipFrom | float | Private | — | |
| 0x04 | animClipTo | float | Private | — | |
| 0x08 | _sampleCollection | SampleCollection | Private | — | |
| 0x01 | rebuild | bool | Private | — | |
| 0x01 | getSamples | bool | Private | — | |
| 0x01 | postBuild | bool | Private | — | |
| 0x00FB | 0x05 | padding / unreflected | |||
| 0x08 | _trs | Transform | Private | — | |
| 0x01 | _hasTransform | bool | Private | — | |
| 0x0109 | 0x07 | padding / unreflected | |||
| 0x40 | _workSample | SplineSample | Private | — | |
| 0x04 | _sampleCount | int | Private | — | |
| 0x04 | _startSampleIndex | int | Private | — | |
| 0x40 | evalResult | SplineSample | 1 flags | — | |
| 0x01 | multithreaded | bool | Public | — | |
| 0x01 | buildOnAwake | bool | Public | — | |
| 0x01 | buildOnEnable | bool | Public | — | |
| 0x019B | 0x05 | padding / unreflected | |||
| 0x08 | onPostBuild | EmptySplineHandler | Private | — | |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 31
| Signature | Flags | Native | Params |
|---|---|---|---|
| float get_expand() | Public+1 flags | 0x04 | |
| void set_expand(float value) | Public+1 flags | 0x04 | |
| float get_extrude() | Public+1 flags | 0x04 | |
| void set_extrude(float value) | Public+1 flags | 0x04 | |
| double get_extrudeClipFrom() | Public+1 flags | 0x08 | |
| void set_extrudeClipFrom(double value) | Public+1 flags | 0x08 | |
| double get_extrudeClipTo() | Public+1 flags | 0x08 | |
| void set_extrudeClipTo(double value) | Public+1 flags | 0x08 | |
| Vector2 get_sideUvScale() | Public+1 flags | 0x08 | |
| void set_sideUvScale(const Vector2& value) | Public+1 flags | 0x08 | |
| Vector2 get_sideUvOffset() | Public+1 flags | 0x08 | |
| void set_sideUvOffset(const Vector2& value) | Public+1 flags | 0x08 | |
| float get_sideUvRotation() | Public+1 flags | 0x04 | |
| void set_sideUvRotation(float value) | Public+1 flags | 0x04 | |
| SplineComputer get_extrudeSpline() | Public+1 flags | 0x08 | |
| void set_extrudeSpline(SplineComputer value) | Public+1 flags | 0x08 | |
| Vector3 get_extrudeOffset() | Public+1 flags | 0x0C | |
| void set_extrudeOffset(const Vector3& value) | Public+1 flags | 0x0C | |
| bool get_uniformUvs() | Public+1 flags | 0x01 | |
| void set_uniformUvs(bool value) | Public+1 flags | 0x01 | |
| string get_meshName() | 3 flags | 0x08 | |
| void Awake() | 2 flags | 0x00 | |
| void BuildMesh() | 2 flags | 0x00 | |
| void LateUpdate() | Private | 0x00 | |
| void Generate() | Public | 0x00 | |
| void GenerateSurfaceTris(bool flip) | Private | 0x01 | |
| int WriteTris(ref int[]& tris, ref int[]& target, int vertexOffset, int trisOffset, bool flip) | Private | 0x08 | |
| bool IsClockwise(const Vector2[]& points2D) | Private | 0x08 | |
| void GetIdentityVerts(const Vector3& center, const Vector3& normal, bool clockwise) | Private | 0x0C | |
| void GetProjectedVertices(int count, ref Vector3& center, ref Vector3& normal) | Private | 0x0C | |
| void .ctor() | Public+1 flags | 0x00 |