Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
PartPointer Class Reference

This class serves as a pointer to an actual Part class, it should be instanced in a gameobject that has a collider, so it can be raycasted and then return the held part reference by this class. More...

Inheritance diagram for PartPointer:

Public Member Functions

void SetPart (Part part)
 Set the part reference to this pointer. More...
 

Properties

Part PartReference [get]
 Returns the referenced part. More...
 

Detailed Description

This class serves as a pointer to an actual Part class, it should be instanced in a gameobject that has a collider, so it can be raycasted and then return the held part reference by this class.

Member Function Documentation

void PartPointer.SetPart ( Part  part)
inline

Set the part reference to this pointer.

Parameters
part

Property Documentation

Part PartPointer.PartReference
get

Returns the referenced part.


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