struct LinearFeatureSet
(Niantic.Lightship.Maps.Builders.Performance.LinearFeatures.Structs.LinearFeatureSet)
Overview
A helper struct used to calculate linear feature meshes after the ILinearFeature has been appraised
struct LinearFeatureSet: INativeDisposable {
// fields
NativeLinearFeature LinearFeature;
// properties
IntReference NeededVerts;
IntReference VertStartIndex;
IntReference NeededIndices;
IntReference IndexStartIndex;
// methods
LinearFeatureSet(NativeLinearFeature feature);
void Dispose();
JobHandle Dispose(JobHandle dependencies);
};
Detailed Documentation
A helper struct used to calculate linear feature meshes after the ILinearFeature has been appraised
Fields
LinearFeature
NativeLinearFeature LinearFeature
A Job-friendly representation of a given ILinearFeature
Properties
NeededVerts
IntReference NeededVerts
Total vertex count for this feature
VertStartIndex
IntReference VertStartIndex
Used as an offset for calculating NeededVerts
NeededIndices
IntReference NeededIndices
Total index count for this feature
IndexStartIndex
IntReference IndexStartIndex
Used as an offset for calculating NeededIndices
Methods
Dispose
void Dispose()
Disposes this struct's NativeContainers
Dispose
JobHandle Dispose(JobHandle dependencies)
Schedules Jobs to dispose this feature's NativeContainers
Parameters:
dependencies
-
Returns: