G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FCollisionShape Class Reference

Public Member Functions

Functions
float32 GetSphereRadius () const
bool IsBox () const
bool IsCapsule () const
bool IsSphere () const
void SetBox (FVector HalfExtent)
void SetSphere (float32 Radius)
void SetCapsule (float32 Radius, float32 HalfHeight)
void SetCapsule (FVector3f Extent)
bool IsNearlyZero () const
FVector GetExtent () const
float32 GetCapsuleAxisHalfLength () const
FVector GetBox () const
bool IsLine () const
float32 GetCapsuleRadius () const
float32 GetCapsuleHalfHeight () const

Static Public Member Functions

Static Functions
static FCollisionShape MakeBox (FVector BoxHalfExtent)
static float32 MinSphereRadius ()
static float32 MinCapsuleRadius ()
static float32 MinCapsuleAxisHalfHeight ()
static float32 MinBoxExtent ()
static FCollisionShape MakeBox (FVector3f BoxHalfExtent)
static FCollisionShape MakeSphere (float32 SphereRadius)
static FCollisionShape MakeCapsule (float32 CapsuleRadius, float32 CapsuleHalfHeight)
static FCollisionShape MakeCapsule (FVector Extent)

Public Attributes

Variables
const float32 CapsuleAxisHalfLength
FVector Box
const float32 SphereRadius
const float32 CapsuleRadius
const float32 CapsuleHalfHeight
const FVector Extent

Member Function Documentation

◆ GetBox()

FVector GetBox ( ) const

◆ GetCapsuleAxisHalfLength()

float32 GetCapsuleAxisHalfLength ( ) const

◆ GetCapsuleHalfHeight()

float32 GetCapsuleHalfHeight ( ) const

◆ GetCapsuleRadius()

float32 GetCapsuleRadius ( ) const

◆ GetExtent()

FVector GetExtent ( ) const

◆ GetSphereRadius()

float32 GetSphereRadius ( ) const

◆ IsBox()

bool IsBox ( ) const

◆ IsCapsule()

bool IsCapsule ( ) const

◆ IsLine()

bool IsLine ( ) const

◆ IsNearlyZero()

bool IsNearlyZero ( ) const

◆ IsSphere()

bool IsSphere ( ) const

◆ MakeBox() [1/2]

FCollisionShape MakeBox ( FVector BoxHalfExtent)
static

◆ MakeBox() [2/2]

FCollisionShape MakeBox ( FVector3f BoxHalfExtent)
static

◆ MakeCapsule() [1/2]

FCollisionShape MakeCapsule ( float32 CapsuleRadius,
float32 CapsuleHalfHeight )
static

◆ MakeCapsule() [2/2]

FCollisionShape MakeCapsule ( FVector Extent)
static

◆ MakeSphere()

FCollisionShape MakeSphere ( float32 SphereRadius)
static

◆ MinBoxExtent()

float32 MinBoxExtent ( )
static

◆ MinCapsuleAxisHalfHeight()

float32 MinCapsuleAxisHalfHeight ( )
static

◆ MinCapsuleRadius()

float32 MinCapsuleRadius ( )
static

◆ MinSphereRadius()

float32 MinSphereRadius ( )
static

◆ SetBox()

void SetBox ( FVector HalfExtent)

◆ SetCapsule() [1/2]

void SetCapsule ( float32 Radius,
float32 HalfHeight )

◆ SetCapsule() [2/2]

void SetCapsule ( FVector3f Extent)

◆ SetSphere()

void SetSphere ( float32 Radius)

Member Data Documentation

◆ Box

FVector Box

◆ CapsuleAxisHalfLength

const float32 CapsuleAxisHalfLength

◆ CapsuleHalfHeight

const float32 CapsuleHalfHeight

◆ CapsuleRadius

const float32 CapsuleRadius

◆ Extent

const FVector Extent

◆ SphereRadius

const float32 SphereRadius