Constructor PackingAttribute
PackingAttribute(string[], FieldPacking, int, int, float, float, bool, bool, bool, string)
Packing Attribute constructor.
Declaration
public PackingAttribute(string[] displayNames, FieldPacking packingScheme = FieldPacking.NoPacking, int bitSize = 32, int offsetInSource = 0, float minValue = 0, float maxValue = 1, bool isDirection = false, bool sRGBDisplay = false, bool checkIsNormalized = false, string preprocessor = "")
Parameters
Type | Name | Description |
---|---|---|
string[] | displayNames | Display names. |
FieldPacking | packingScheme | Packing scheme. |
int | bitSize | Size in bits. |
int | offsetInSource | Offset in source. |
float | minValue | Minimum value. |
float | maxValue | Maximum value. |
bool | isDirection | Field is a direction. |
bool | sRGBDisplay | Field is an sRGB value. |
bool | checkIsNormalized | Field checkIsNormalized. |
string | preprocessor | Field preprocessor. |
PackingAttribute(string, FieldPacking, int, int, float, float, bool, bool, bool, string)
Packing Attribute constructor.
Declaration
public PackingAttribute(string displayName = "", FieldPacking packingScheme = FieldPacking.NoPacking, int bitSize = 0, int offsetInSource = 0, float minValue = 0, float maxValue = 1, bool isDirection = false, bool sRGBDisplay = false, bool checkIsNormalized = false, string preprocessor = "")
Parameters
Type | Name | Description |
---|---|---|
string | displayName | Display name. |
FieldPacking | packingScheme | Packing scheme. |
int | bitSize | Size in bits. |
int | offsetInSource | Offset in source. |
float | minValue | Minimum value. |
float | maxValue | Maximum value. |
bool | isDirection | Field is a direction. |
bool | sRGBDisplay | Field is an sRGB value. |
bool | checkIsNormalized | Field checkIsNormalized. |
string | preprocessor | Field preprocessor. |