VR Interaction Framework v2.0
Loading...
Searching...
No Matches
BNG.BulletHole Class Reference

A simple decal with random scale and rotation. More...

Inheritance diagram for BNG.BulletHole:

Public Member Functions

void TryAttachTo (Collider col)
 

Public Attributes

Transform BulletHoleDecal
 
float MaxScale = 1f
 
float MinScale = 0.75f
 
bool RandomYRotation = true
 
float DestroyTime = 10f
 

Detailed Description

A simple decal with random scale and rotation.

Member Function Documentation

◆ TryAttachTo()

void BNG.BulletHole.TryAttachTo ( Collider  col)

Member Data Documentation

◆ BulletHoleDecal

Transform BNG.BulletHole.BulletHoleDecal

◆ DestroyTime

float BNG.BulletHole.DestroyTime = 10f

◆ MaxScale

float BNG.BulletHole.MaxScale = 1f

◆ MinScale

float BNG.BulletHole.MinScale = 0.75f

◆ RandomYRotation

bool BNG.BulletHole.RandomYRotation = true

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