Enums/BONE

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(*some* documentation :v)
 
Line 8: Line 8:
 
{{EnumField|BONE_SCREEN_ALIGN_CYLINDER|16}}
 
{{EnumField|BONE_SCREEN_ALIGN_CYLINDER|16}}
 
{{EnumField|BONE_CALCULATE_MASK|31}}
 
{{EnumField|BONE_CALCULATE_MASK|31}}
{{EnumField|BONE_USED_BY_HITBOX|256}}
+
{{EnumField|BONE_USED_BY_HITBOX|256|A hitbox is attached to this bone}}
{{EnumField|BONE_USED_BY_ATTACHMENT|512}}
+
{{EnumField|BONE_USED_BY_ATTACHMENT|512|An attachment is attached to this bone}}
 
{{EnumField|BONE_USED_BY_VERTEX_LOD0|1024}}
 
{{EnumField|BONE_USED_BY_VERTEX_LOD0|1024}}
 
{{EnumField|BONE_USED_BY_VERTEX_LOD1|2048}}
 
{{EnumField|BONE_USED_BY_VERTEX_LOD1|2048}}
Line 20: Line 20:
 
{{EnumField|BONE_USED_BY_VERTEX_MASK|261120}}
 
{{EnumField|BONE_USED_BY_VERTEX_MASK|261120}}
 
{{EnumField|BONE_USED_BY_BONE_MERGE|262144}}
 
{{EnumField|BONE_USED_BY_BONE_MERGE|262144}}
{{EnumField|BONE_USED_BY_ANYTHING|524032}}
+
{{EnumField|BONE_USED_BY_ANYTHING|524032|Is this bone used by anything?<br/>( If any BONE_USED_BY_* flags are true )}}
 
{{EnumField|BONE_USED_MASK|524032}}
 
{{EnumField|BONE_USED_MASK|524032}}
 
}}
 
}}

Latest revision as of 20:43, 11 May 2014

Used by Entity:BoneHasFlag.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
BONE_PHYSICALLY_SIMULATED 1
BONE_PHYSICS_PROCEDURAL 2
BONE_ALWAYS_PROCEDURAL 4
BONE_SCREEN_ALIGN_SPHERE 8
BONE_SCREEN_ALIGN_CYLINDER 16
BONE_CALCULATE_MASK 31
BONE_USED_BY_HITBOX 256 A hitbox is attached to this bone
BONE_USED_BY_ATTACHMENT 512 An attachment is attached to this bone
BONE_USED_BY_VERTEX_LOD0 1024
BONE_USED_BY_VERTEX_LOD1 2048
BONE_USED_BY_VERTEX_LOD2 4096
BONE_USED_BY_VERTEX_LOD3 8192
BONE_USED_BY_VERTEX_LOD4 16384
BONE_USED_BY_VERTEX_LOD5 32768
BONE_USED_BY_VERTEX_LOD6 65536
BONE_USED_BY_VERTEX_LOD7 131072
BONE_USED_BY_VERTEX_MASK 261120
BONE_USED_BY_BONE_MERGE 262144
BONE_USED_BY_ANYTHING 524032 Is this bone used by anything?
( If any BONE_USED_BY_* flags are true )
BONE_USED_MASK 524032
Personal tools
Navigation