Smartprop Operations: Difference between revisions
Jump to navigation
Jump to search
GunnarKafel (talk | contribs) |
GunnarKafel (talk | contribs) |
||
Line 56: | Line 56: | ||
== CSmartPropOperation_CreateSizer == | == CSmartPropOperation_CreateSizer == | ||
; m_flInitialMinX | |||
;m_flInitialMaxX | |||
;m_flConstraintMinX | |||
;m_flConstraintMaxX | |||
;m_OutputVariableMinX | |||
;m_OutputVariableMaxX | |||
;m_flInitialMinY | |||
;m_flInitialMaxY | |||
;m_flConstraintMinY | |||
;m_flConstraintMaxY | |||
;m_OutputVariableMinY | |||
;m_OutputVariableMaxY | |||
;m_flInitialMinZ | |||
;m_flInitialMaxZ | |||
;m_flConstraintMinZ | |||
;m_flConstraintMaxZ | |||
;m_OutputVariableMinZ | |||
;m_OutputVariableMaxZ | |||
== CSmartPropOperation_CreateRotator == | == CSmartPropOperation_CreateRotator == |
Revision as of 23:49, 24 November 2023
CSmartPropOperation_TraceToPoint
Todo: Add class members
CSmartPropOperation_TraceToLine
Todo: Add class members
CSmartPropOperation_SetTintColor
Todo: Add class members
CSmartPropOperation_SetVariable
Todo: Add class members
CSmartPropOperation_SaveState
Todo: Add class members
CSmartPropOperation_RestoreState
Todo: Add class members
CSmartPropOperation_SavePosition
Todo: Add class members
CSmartPropOperation_SaveDirection
Todo: Add class members
CSmartPropOperation_SaveScale
Todo: Add class members
CSmartPropOperation_SaveSurfaceNormal
Todo: Add class members
CSmartPropOperation_SaveDirection
Todo: Add class members
CSmartPropOperation_ComputeDotProduct3D
Todo: Add class members
CSmartPropOperation_ComputeCrossProduct3D
Todo: Add class members
CSmartPropOperation_ComputeDistance3D
Todo: Add class members
CSmartPropOperation_ComputeVectorBetweenPoints3D
Todo: Add class members
CSmartPropOperation_ComputeNormalizedVector3D
Todo: Add class members
CSmartPropOperation_ComputeProjectVector3D
Todo: Add class members
CSmartPropOperation_CreateLocator
Todo: Add class members
CSmartPropOperation_CreateSizer
- m_flInitialMinX
- m_flInitialMaxX
- m_flConstraintMinX
- m_flConstraintMaxX
- m_OutputVariableMinX
- m_OutputVariableMaxX
- m_flInitialMinY
- m_flInitialMaxY
- m_flConstraintMinY
- m_flConstraintMaxY
- m_OutputVariableMinY
- m_OutputVariableMaxY
- m_flInitialMinZ
- m_flInitialMaxZ
- m_flConstraintMinZ
- m_flConstraintMaxZ
- m_OutputVariableMinZ
- m_OutputVariableMaxZ
CSmartPropOperation_CreateRotator
- m_vRotationAxis
- Axis around which the rotation will occur
- m_CoordinateSpace
- Coordinate space the axis of rotation is specified in.
- m_flDisplayRadius
- اRadius at which the rotator handle should be displayed.
- m_bApplyToCurrentTrasnform
- Should the rotation be applied to the current transform.
- m_bEnforceLimits
- If enabled, the minimum and maximum rotation angles will be used to limit the range of the rotation. Todo: Find corresponding class members to set the limits
- m_OutputVariable
- 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.
CSmartPropOperation_ResetRotation
Todo: Add class members
CSmartPropOperation_SetOrientation
Todo: Add class members
CSmartPropOperation_SetPosition
Todo: Add class members
CSmartPropOperation_ResetScale
Todo: Add class members
CSmartPropOperation_Rotate
- m_vRotation
- Rotation to apply to the current transform
CSmartPropOperation_Translate
- m_vPosition
- Translation to apply to the current transform
CSmartPropOperation_RotateTowards
Todo: Add class members
CSmartPropOperation_Scale
Apply a scale to the current transform.
- m_flScale
- Scale to apply to the current transform
CSmartPropOperation_RandomOffset
Apply a random position offset to the current transform.
- m_vRandomPositionMin
- Minimum random position offset
- m_vRandomPositionMax
- Maximum random position offset
CSmartPropOperation_RandomRotation
Apply a random rotation to the current transform.
- m_vRandomRotationMin
- Minimum rotation range
- m_vRandomRotationMax
- Maximum rotation range
CSmartPropOperation_RandomScale
Apply a random scale to the current transform.
- m_flRandomScaleMin
- Minimum scale range
- m_flRandomScaleMax
- Maximum scale range
CSmartPropOperation_Trace
Todo: Add class members
CSmartPropOperation_TraceInDirection
Todo: Add class members