Loading...
Searching...
No Matches
SCR_DeployableSurfaceValidation Interface Reference

This is a base variant that does nothing, and thus it must NOT be used. More...

Inheritance diagram for SCR_DeployableSurfaceValidation:
SCR_NoVehicleSurfaceValidation

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.
 

Detailed Description

This is a base variant that does nothing, and thus it must NOT be used.

Member Function Documentation

◆ IsSurfaceValid()

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.

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

Implemented in SCR_NoVehicleSurfaceValidation.


The documentation for this interface was generated from the following file: