group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
ViewmodelAttachment Struct Reference

Extra first-person models drawn in the weapon pass, after the gun. More...

#include <RendererTypes.hpp>

Public Attributes

int32_t modelIndex = -1
 Renderer-side model handle.
glm::mat4 transform {1.0f}
 World transform, already camera/viewmodel-relative.
bool visible = false
 False = skip drawing this attachment.

Detailed Description

Extra first-person models drawn in the weapon pass, after the gun.

Member Data Documentation

◆ modelIndex

int32_t ViewmodelAttachment::modelIndex = -1

Renderer-side model handle.

◆ transform

glm::mat4 ViewmodelAttachment::transform {1.0f}

World transform, already camera/viewmodel-relative.

◆ visible

bool ViewmodelAttachment::visible = false

False = skip drawing this attachment.


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