Loading...
Searching...
No Matches
SCR_NoVehicleSurfaceValidation Interface Reference
Inheritance diagram for SCR_NoVehicleSurfaceValidation:
SCR_DeployableSurfaceValidation

Public Member Functions

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.
 

Member Function Documentation

◆ 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]surfaceEntentity on which the item is going to be deployed
[in]worldPositionposition in world space
[in]surfaceNormnormal of the face on which the item is going to be deployed
[in]nodeIndexbone id to which is attached the collider on which the item is going to be deployed
[in]colliderIndexcollider id on which the item is going to be deployed
[in]surfacePropsproperties of the surface on which the item is going to be deployed
[in]surfaceMaterialname of the material of the surface on which the item is going to be deployed
[in]colliderNamename 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: