- Dota 2
- smartprops
- CSmartPropElement_Deformer
- CSmartPropElement_ScatterOnMesh
- Metadata
- MPropertyDescription: "Scatter Children on a Mesh."MPropertyFriendlyName: "Scatter on Mesh"
Fields
NameTypeOffset
CUtlString = "Input Mesh"
MPropertyDescription: "Name of the mesh input on the Smart Prop instance in Hammer."
CSmartPropAttributeScatterOnMeshDistributionMode = "UNIFORM_RANDOM"
MPropertyDescription: "Specifies point distribution method."
MPropertyFriendlyName: "Distribution"
MPropertyStartGroup: "+Placement"
CSmartPropAttributeScatterOnMeshCountMode = "DENSITY"
MPropertyDescription: "Specifies how the number of points are set."
MPropertyFriendlyName: "Count Mode"
MPropertySuppressExpr: "m_nDistributionMode != UNIFORM_RANDOM"
MPropertyDescription: "Points per square foot / per 144 square units."
MPropertyFriendlyName: "Density"
MPropertySuppressExpr: "m_nDistributionMode != UNIFORM_RANDOM || m_nCountMode != DENSITY"
CSmartPropAttributeInt = 100
MPropertyDescription: "Fixed total count of points."
MPropertyFriendlyName: "Count"
MPropertySuppressExpr: "m_nDistributionMode != UNIFORM_RANDOM || m_nCountMode != TOTAL_COUNT"
MPropertyDescription: "Remove overlapping points based on their point size."
MPropertyFriendlyName: "Remove Overlaps"
MPropertySuppressExpr: "m_nDistributionMode != UNIFORM_RANDOM"
MPropertyDescription: "Coverage 0 to 1. At 1 it places as many points as it can fit."
MPropertyFriendlyName: "Coverage"
MPropertyAttributeRange: "0 1"
MPropertySuppressExpr: "m_nDistributionMode != POISSON_DISK"
CSmartPropAttributeScatterOnMeshSizeMode = "FIXED_SIZE"
MPropertyDescription: "Specifies how point size is set."
MPropertyFriendlyName: "Size Mode"
MPropertyStartGroup: "+Size"
MPropertyDescription: "Radius of every point."
MPropertyFriendlyName: "Radius"
MPropertyAttributeRange: "biased 0 1024"
MPropertySuppressExpr: "m_nSizeMode != FIXED_SIZE"
MPropertyDescription: "Minimum radius of a point."
MPropertyFriendlyName: "Min Radius"
MPropertyAttributeRange: "biased 0 1024"
MPropertySuppressExpr: "m_nSizeMode != RANDOM_RANGE"
MPropertyDescription: "Maximum radius of a point."
MPropertyFriendlyName: "Max Radius"
MPropertyAttributeRange: "biased 0 1024"
MPropertySuppressExpr: "m_nSizeMode != RANDOM_RANGE"
MPropertyDescription: "List of size classes with set size and weight."
MPropertyFriendlyName: "Size Classes"
MPropertySuppressExpr: "m_nSizeMode != SIZE_CLASSES"
CSmartPropAttributeVector = [0,0,1]
MPropertyDescription: "Up Vector for placed points on the mesh."
MPropertyFriendlyName: "Up Vector"
MPropertyStartGroup: "+Orientation"
MPropertyDescription: "Lerp between up vector and surface normal."
MPropertyFriendlyName: "Orient To Surface"
MPropertyAttributeRange: "0 1"
MPropertyDescription: "Variable name to write point radius to."
MPropertyFriendlyName: "Radius Output Variable"
MPropertyAttributeEditor: "SmartPropItemNameEditor( Variable:Float )"
MPropertyStartGroup: "+Output Variables"
MPropertyDescription: "Variable name to write size class to. Size class is an integer index into the size list."
MPropertyFriendlyName: "Size Class Output Variable"
MPropertyAttributeEditor: "SmartPropItemNameEditor( Variable:Integer )"
MPropertySuppressExpr: "m_nSizeMode != SIZE_CLASSES"