Smartprop Operations

From Valve Developer Community
Jump to: navigation, search
Dead End - Icon.png
This article has no links to other VDC articles. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024

CSmartPropOperation_TraceToPoint

Blank image.pngTodo: Add class members

CSmartPropOperation_TraceToLine

Blank image.pngTodo: Add class members

CSmartPropOperation_SetTintColor

Blank image.pngTodo: Add class members

CSmartPropOperation_SetVariable

Blank image.pngTodo: Add class members

CSmartPropOperation_SaveState

Blank image.pngTodo: Add class members

CSmartPropOperation_RestoreState

Blank image.pngTodo: Add class members

CSmartPropOperation_SavePosition

Blank image.pngTodo: Add class members

CSmartPropOperation_SaveDirection

Blank image.pngTodo: Add class members

CSmartPropOperation_SaveScale

Blank image.pngTodo: Add class members

CSmartPropOperation_SaveSurfaceNormal

Blank image.pngTodo: Add class members

CSmartPropOperation_SaveDirection

Blank image.pngTodo: Add class members

CSmartPropOperation_ComputeDotProduct3D

Blank image.pngTodo: Add class members

CSmartPropOperation_ComputeCrossProduct3D

Blank image.pngTodo: Add class members

CSmartPropOperation_ComputeDistance3D

Blank image.pngTodo: Add class members

CSmartPropOperation_ComputeVectorBetweenPoints3D

Blank image.pngTodo: Add class members

CSmartPropOperation_ComputeNormalizedVector3D

Blank image.pngTodo: Add class members

CSmartPropOperation_ComputeProjectVector3D

Blank image.pngTodo: Add class members

CSmartPropOperation_CreateLocator

Blank image.pngTodo: 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.
Blank image.pngTodo: 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

Blank image.pngTodo: Add class members

CSmartPropOperation_SetOrientation

Blank image.pngTodo: Add class members

CSmartPropOperation_SetPosition

Blank image.pngTodo: Add class members

CSmartPropOperation_ResetScale

Blank image.pngTodo: 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

Blank image.pngTodo: 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

Blank image.pngTodo: Add class members

CSmartPropOperation_TraceInDirection

Blank image.pngTodo: Add class members
Wikipedia - Letter.png
This article has not been added to any content categories. Please help out by adding categories.
January 2024