|
| override 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.
|
| |
◆ IsSurfaceValid()
| override bool SCR_NoVehicleSurfaceValidation.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.
- Parameters
-
| [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 |
- Returns
- true if item can be deployed on this surface, otherwise false
Implements SCR_DeployableSurfaceValidation.
The documentation for this interface was generated from the following file:
- Game/Components/SCR_NoVehicleSurfaceValidation.c