- Dota 2
- smartprops
- CSmartPropTransformOperation
- CSmartPropOperation_CreateRotator
- Metadata
- MPropertyDescription: "Create a rotator that will be displayed at the current location, allowing the user to manipulate a rotation around an axis. The rotation value can be applied to the current transform as well as saved to a variable."MPropertyFriendlyName: "Create Rotator"MVDataClassGroup: "Manipulators"
- Also in
- Counter-Strike 2
Fields
NameTypeOffset
MPropertyDescription: "Name used to identify the rotator. Must be unique within the parent element."
MPropertyFriendlyName: "Name"
MPropertyDescription: "Offset of the rotator relative to the current transform. This allows the rotator to be created at an offset location without applying that offset to the current transform."
CSmartPropAttributeVector = [0,0,1]
MPropertyDescription: "Axis around which the rotation will occur"
CSmartPropAttributeCoordinateSpace = "ELEMENT"
MPropertyDescription: "Coordinate space the axis of rotation is specified in."
MPropertyDescription: "Radius at which the rotator handle should be displayed."
CSmartPropAttributeColor = [170,170,110]
MPropertyDescription: "Color to display the rotator handle with."
CSmartPropAttributeBool = true
MPropertyDescription: "Should the rotation be applied to the current transform."
MPropertyDescription: "Specifies the number of degrees the rotation should snap to. If set to 0, then the rotation snapping will be controlled by the rotation snapping in Hammer."
MPropertyDescription: "Specifies the angle the rotator should be set to initially."
MPropertyDescription: "If enabled, the minimum and maximum rotation angles will be used to limit the range of the rotation."
MPropertyFriendlyName: "Enforce Limits"
MPropertyDescription: "Specifies the minimum angle limit in degrees"
MPropertyFriendlyName: "Minimum Angle"
MPropertyReadonlyExpr: "m_bEnforceLimits == false"
MPropertyDescription: "Specifies the minimum angle limit in degrees"
MPropertyFriendlyName: "Maximum Angle"
MPropertyReadonlyExpr: "m_bEnforceLimits == false"
MPropertyDescription: "Specifies a float variable to which the rotation value should be output. The variable only receives the rotation around the axis, the axis of rotation does not affect this output."
MPropertyAttributeEditor: "SmartPropItemNameEditor( Variable:Float )"