![]() |
|
This is a base variant that does nothing, and thus it must NOT be used. More...
Public Member Functions | |
| bool | IsSurfaceValid (IEntity surfaceEnt, vector worldPosition, vector surfaceNorm, int nodeIndex, int colliderIndex, SurfaceProperties surfaceProps, string surfaceMaterial, string colliderName) |
| Validates if provided entity can be considered as a valid surface for deployment. | |
This is a base variant that does nothing, and thus it must NOT be used.
| bool SCR_DeployableSurfaceValidation.IsSurfaceValid | ( | IEntity | surfaceEnt, |
| vector | worldPosition, | ||
| vector | surfaceNorm, | ||
| int | nodeIndex, | ||
| int | colliderIndex, | ||
| SurfaceProperties | surfaceProps, | ||
| string | surfaceMaterial, | ||
| string | colliderName ) |
Validates if provided entity can be considered as a valid surface for deployment.
| [in] | surfaceEnt | entity on which the item is going to be deployed |
| [in] | worldPosition | position in world space |
| [in] | surfaceNorm | normal of the face on which the item is going to be deployed |
| [in] | nodeIndex | bone id to which is attached the collider on which the item is going to be deployed |
| [in] | colliderIndex | collider id on which the item is going to be deployed |
| [in] | surfaceProps | properties of the surface on which the item is going to be deployed |
| [in] | surfaceMaterial | name of the material of the surface on which the item is going to be deployed |
| [in] | colliderName | name of the collider on which the item is going to be deployed |
Implemented in SCR_NoVehicleSurfaceValidation.