> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "CompositeMaterialInputLooseVariable_t"
navbar: dynamic
asidebar: hide
---
# CompositeMaterialInputLooseVariable\_t

Schema class in module `compositematerialslib`.

## Summary

- Kind: `class`
- Module: `compositematerialslib`
- Size: `648 (0x0288)`
- Size bytes: `648`
- Parent: `value.DeclaredClass`
- Inherited fields: `0`
- Product: Counter-Strike 2

### Metadata

- `MPropertyElementNameFn`

## Inheritance

- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_strName` | [string](/cs2/api_reference/lua/base#string) | 0 (0x00) | - | - | `MPropertyFriendlyName`: "Name"<br />`MPropertyAttrStateCallback` |
| `m_bExposeExternally` | [boolean](/cs2/api_reference/lua/base#boolean) | 8 (0x08) | - | - | `MPropertyAutoRebuildOnChange`<br />`MPropertyFriendlyName`: "Expose Externally" |
| `m_strExposedFriendlyName` | [string](/cs2/api_reference/lua/base#string) | 16 (0x10) | - | - | `MPropertyFriendlyName`: "Exposed Friendly Name"<br />`MPropertyAttrStateCallback` |
| `m_strExposedFriendlyGroupName` | [string](/cs2/api_reference/lua/base#string) | 24 (0x18) | - | - | `MPropertyFriendlyName`: "Exposed Friendly Group"<br />`MPropertyAttrStateCallback` |
| `m_bExposedVariableIsFixedRange` | [boolean](/cs2/api_reference/lua/base#boolean) | 32 (0x20) | - | - | `MPropertyFriendlyName`: "Exposed Fixed Range"<br />`MPropertyAttrStateCallback` |
| `m_strExposedVisibleWhenTrue` | [string](/cs2/api_reference/lua/base#string) | 40 (0x28) | - | - | `MPropertyFriendlyName`: "Exposed SetVisible When True"<br />`MPropertyAttrStateCallback` |
| `m_strExposedHiddenWhenTrue` | [string](/cs2/api_reference/lua/base#string) | 48 (0x30) | - | - | `MPropertyFriendlyName`: "Exposed SetHidden When True"<br />`MPropertyAttrStateCallback` |
| `m_strExposedValueList` | [string](/cs2/api_reference/lua/base#string) | 56 (0x38) | - | - | `MPropertyFriendlyName`: "Exposed Value List"<br />`MPropertyAttrStateCallback` |
| `m_nVariableType` | [CompositeMaterialInputLooseVariableType\_t](/cs2/dumped_data/schema/compositematerialslib/CompositeMaterialInputLooseVariableType_t) | 64 (0x40) | - | - | `MPropertyAutoRebuildOnChange`<br />`MPropertyFriendlyName`: "Type" |
| `m_bValueBoolean` | [boolean](/cs2/api_reference/lua/base#boolean) | 68 (0x44) | - | - | `MPropertyFriendlyName`: "Value"<br />`MPropertyAttrStateCallback` |
| `m_nValueIntX` | [number](/cs2/api_reference/lua/base#number) | 72 (0x48) | - | - | `MPropertyFriendlyName`: "X Value"<br />`MPropertyAttrStateCallback`<br />`MPropertyAttributeRange`: "0 255" |
| `m_nValueIntY` | [number](/cs2/api_reference/lua/base#number) | 76 (0x4C) | - | - | `MPropertyFriendlyName`: "Y Value"<br />`MPropertyAttrStateCallback`<br />`MPropertyAttributeRange`: "0 255" |
| `m_nValueIntZ` | [number](/cs2/api_reference/lua/base#number) | 80 (0x50) | - | - | `MPropertyFriendlyName`: "Z Value"<br />`MPropertyAttrStateCallback`<br />`MPropertyAttributeRange`: "0 255" |
| `m_nValueIntW` | [number](/cs2/api_reference/lua/base#number) | 84 (0x54) | - | - | `MPropertyFriendlyName`: "W Value"<br />`MPropertyAttrStateCallback`<br />`MPropertyAttributeRange`: "0 255" |
| `m_bHasFloatBounds` | [boolean](/cs2/api_reference/lua/base#boolean) | 88 (0x58) | - | - | `MPropertyFriendlyName`: "Specify Min/Max"<br />`MPropertyAttrStateCallback` |
| `m_flValueFloatX` | [number](/cs2/api_reference/lua/base#number) | 92 (0x5C) | - | - | `MPropertyFriendlyName`: "X Value"<br />`MPropertyAttrStateCallback`<br />`MPropertyAttributeRange`: "0.0 1.0" |
| `m_flValueFloatX_Min` | [number](/cs2/api_reference/lua/base#number) | 96 (0x60) | - | - | `MPropertyFriendlyName`: "X Min"<br />`MPropertyAttrStateCallback` |
| `m_flValueFloatX_Max` | [number](/cs2/api_reference/lua/base#number) | 100 (0x64) | - | - | `MPropertyFriendlyName`: "X Max"<br />`MPropertyAttrStateCallback` |
| `m_flValueFloatY` | [number](/cs2/api_reference/lua/base#number) | 104 (0x68) | - | - | `MPropertyFriendlyName`: "Y Value"<br />`MPropertyAttrStateCallback`<br />`MPropertyAttributeRange`: "0.0 1.0" |
| `m_flValueFloatY_Min` | [number](/cs2/api_reference/lua/base#number) | 108 (0x6C) | - | - | `MPropertyFriendlyName`: "Y Min"<br />`MPropertyAttrStateCallback` |
| `m_flValueFloatY_Max` | [number](/cs2/api_reference/lua/base#number) | 112 (0x70) | - | - | `MPropertyFriendlyName`: "Y Max"<br />`MPropertyAttrStateCallback` |
| `m_flValueFloatZ` | [number](/cs2/api_reference/lua/base#number) | 116 (0x74) | - | - | `MPropertyFriendlyName`: "Z Value"<br />`MPropertyAttrStateCallback`<br />`MPropertyAttributeRange`: "0.0 1.0" |
| `m_flValueFloatZ_Min` | [number](/cs2/api_reference/lua/base#number) | 120 (0x78) | - | - | `MPropertyFriendlyName`: "Z Min"<br />`MPropertyAttrStateCallback` |
| `m_flValueFloatZ_Max` | [number](/cs2/api_reference/lua/base#number) | 124 (0x7C) | - | - | `MPropertyFriendlyName`: "Z Max"<br />`MPropertyAttrStateCallback` |
| `m_flValueFloatW` | [number](/cs2/api_reference/lua/base#number) | 128 (0x80) | - | - | `MPropertyFriendlyName`: "W Value"<br />`MPropertyAttrStateCallback`<br />`MPropertyAttributeRange`: "0.0 1.0" |
| `m_flValueFloatW_Min` | [number](/cs2/api_reference/lua/base#number) | 132 (0x84) | - | - | `MPropertyFriendlyName`: "W Min"<br />`MPropertyAttrStateCallback` |
| `m_flValueFloatW_Max` | [number](/cs2/api_reference/lua/base#number) | 136 (0x88) | - | - | `MPropertyFriendlyName`: "W Max"<br />`MPropertyAttrStateCallback` |
| `m_cValueColor4` | [Color](/cs2/api_reference/mathlib/color#color-1) | 140 (0x8C) | - | - | `MPropertyFriendlyName`: "Value"<br />`MPropertyAttrStateCallback` |
| `m_nValueSystemVar` | [CompositeMaterialVarSystemVar\_t](/cs2/dumped_data/schema/compositematerialslib/CompositeMaterialVarSystemVar_t) | 144 (0x90) | - | - | `MPropertyFriendlyName`: "Value"<br />`MPropertyAttrStateCallback` |
| `m_strResourceMaterial` | [value.View](/cs2/api_reference/engine/value#valueview) | 152 (0x98) | - | - | `MPropertyFriendlyName`: "Material"<br />`MPropertyAttrStateCallback` |
| `m_strTextureContentAssetPath` | [string](/cs2/api_reference/lua/base#string) | 376 (0x0178) | - | - | `MPropertyFriendlyName`: "Texture"<br />`MPropertyAttributeEditor`: "AssetBrowse( jpg, png, psd, tga )"<br />`MPropertyAttrStateCallback` |
| `m_strTextureRuntimeResourcePath` | [value.View](/cs2/api_reference/engine/value#valueview) | 384 (0x0180) | - | - | `MPropertyHideField` |
| `m_strTextureCompilationVtexTemplate` | [string](/cs2/api_reference/lua/base#string) | 608 (0x0260) | - | - | `MPropertyHideField` |
| `m_nTextureType` | [CompositeMaterialInputTextureType\_t](/cs2/dumped_data/schema/compositematerialslib/CompositeMaterialInputTextureType_t) | 616 (0x0268) | - | - | `MPropertyFriendlyName`: "Texture Type"<br />`MPropertyAttrStateCallback` |
| `m_strString` | [string](/cs2/api_reference/lua/base#string) | 624 (0x0270) | - | - | `MPropertyFriendlyName`: "String"<br />`MPropertyAttrStateCallback` |
| `m_strPanoramaPanelPath` | [string](/cs2/api_reference/lua/base#string) | 632 (0x0278) | - | - | `MPropertyFriendlyName`: "Layout XML"<br />`MPropertyAttrStateCallback` |
| `m_nPanoramaRenderRes` | [number](/cs2/api_reference/lua/base#number) | 640 (0x0280) | - | - | `MPropertyFriendlyName`: "Render Resolution"<br />`MPropertyAttrStateCallback` |

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [CompMatPropertyMutator\_t](/cs2/dumped_data/schema/compositematerialslib/CompMatPropertyMutator_t) | `m_nSetValue_Value` | compositematerialslib | - |
| [CompositeMaterialInputContainer\_t](/cs2/dumped_data/schema/compositematerialslib/CompositeMaterialInputContainer_t) | `m_vecLooseVariables` | compositematerialslib | - |

