Curves_samplingData (object)¶
Sampling cache for curve drawing.
Members¶
| UInt32 | samplesPerSpan | |
| UInt32 | memType | |
| UInt32 | lastStructureVersion | |
| UInt32 | structureVersion | |
| Boolean | normalizeTangents | |
| GeometryAttributes | sampledAttributes | |
| UInt32[] | lastSampledAttributesVersions | |
| Ref<Vec3Attribute> | sampledTangentAttribute | |
| UInt32[] | lineElements | |
| UInt16[] | lineElements_16 | |
| Boolean | multithread | |
| Curves_samplingComputeWorkUnit[] | samplingComputeWorkUnit | |
| Ref<PerCurveSamplingTable> | sharedTables | |
| Ref<Curves> | curves | 
Methods¶
| Curves_samplingData ( in Curves_samplingData other ) | |
| Curves_samplingData () | |
| Curves_samplingData | clone ? () | 
| UInt32 | getMemType ? () | 
| Ref<Vec3Attribute> | getPositionsAttribute ? () | 
| Ref<Vec3Attribute> | getTangentsAttribute ? () | 
Methods in detail¶
Curves_samplingData ( in Curves_samplingData other )
copy constructor
Curves_samplingData Curves_samplingData.clone? ()
clone method
UInt32 Curves_samplingData.getMemType? ()
Returns the memory location id. CPU = 0, GPU = 1, VSM = 2;
Ref<Vec3Attribute> Curves_samplingData.getPositionsAttribute? ()
Ref<Vec3Attribute> Curves_samplingData.getTangentsAttribute? ()
注釈
The tangents attribute is created only if Curves.updateSampling was called with computeSampledTangents = true.