Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.ModAPI.Ingame.IMyProjector Interface Reference
Inheritance diagram for Sandbox.ModAPI.Ingame.IMyProjector:
Sandbox.ModAPI.Ingame.IMyFunctionalBlock Sandbox.ModAPI.Ingame.IMyTerminalBlock Sandbox.ModAPI.Ingame.IMyTerminalBlock Sandbox.ModAPI.Ingame.IMyCubeBlock Sandbox.ModAPI.Ingame.IMyCubeBlock Sandbox.ModAPI.Ingame.IMyCubeBlock Sandbox.ModAPI.Ingame.IMyCubeBlock Sandbox.ModAPI.IMyProjector Sandbox.Game.Entities.Blocks.MyProjectorBase Entities.Blocks.MySpaceProjector

Public Member Functions

void UpdateOffsetAndRotation ()
 Call this after setting ProjectionOffset and ProjectionRotation to update the projection More...
 
bool LoadRandomBlueprint (string searchPattern)
 
bool LoadBlueprint (string name)
 
- Public Member Functions inherited from Sandbox.ModAPI.Ingame.IMyFunctionalBlock
void RequestEnable (bool enable)
 
void RequestEnable (bool enable)
 
- Public Member Functions inherited from Sandbox.ModAPI.Ingame.IMyTerminalBlock
bool HasLocalPlayerAccess ()
 
bool HasPlayerAccess (long playerId)
 
void SetCustomName (string text)
 
void SetCustomName (StringBuilder text)
 
void GetActions (List< Sandbox.ModAPI.Interfaces.ITerminalAction > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalAction, bool > collect=null)
 
void SearchActionsOfName (string name, List< Sandbox.ModAPI.Interfaces.ITerminalAction > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalAction, bool > collect=null)
 
Sandbox.ModAPI.Interfaces.ITerminalAction GetActionWithName (string name)
 
Sandbox.ModAPI.Interfaces.ITerminalProperty GetProperty (string id)
 
void GetProperties (List< Sandbox.ModAPI.Interfaces.ITerminalProperty > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalProperty, bool > collect=null)
 
bool HasLocalPlayerAccess ()
 
bool HasPlayerAccess (long playerId)
 
void RequestShowOnHUD (bool enable)
 
void SetCustomName (string text)
 
void SetCustomName (StringBuilder text)
 
void GetActions (List< Sandbox.ModAPI.Interfaces.ITerminalAction > resultList, Func< Sandbox.ModAPI.Interfaces.ITerminalAction, bool > collect=null)
 
- Public Member Functions inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock
string GetOwnerFactionTag ()
 
Sandbox.Common.MyRelationsBetweenPlayerAndBlock GetPlayerRelationToOwner ()
 
Sandbox.Common.MyRelationsBetweenPlayerAndBlock GetUserRelationToOwner (long playerId)
 
void UpdateIsWorking ()
 
void UpdateVisual ()
 

Properties

int ProjectionOffsetX [get]
 
int ProjectionOffsetY [get]
 
int ProjectionOffsetZ [get]
 
int ProjectionRotX [get]
 
int ProjectionRotY [get]
 
int ProjectionRotZ [get]
 
bool IsProjecting [get]
 Checks if there is an active projection More...
 
int TotalBlocks [get]
 Total number of blocks in the projection More...
 
int RemainingBlocks [get]
 Number of blocks left to be welded More...
 
Dictionary< MyDefinitionBase, int > RemainingBlocksPerType [get]
 A comprehensive list of blocks left to be welded More...
 
int RemainingArmorBlocks [get]
 Number of armor blocks left to be welded More...
 
int BuildableBlocksCount [get]
 Count of blocks which can be welded now More...
 
Vector3I ProjectionOffset [get, set]
 
Vector3I ProjectionRotation [get, set]
 These values are not in degrees. 1 = 90 degrees, 2 = 180 degrees More...
 
- Properties inherited from Sandbox.ModAPI.Ingame.IMyFunctionalBlock
bool Enabled [get]
 
- Properties inherited from Sandbox.ModAPI.Ingame.IMyTerminalBlock
string CustomName [get]
 
string CustomNameWithFaction [get]
 
string DetailedInfo [get]
 
string CustomInfo [get]
 
string CustomData [get, set]
 Gets or sets the Custom Data string. NOTE: Only use this for user input. For storing large mod configs, create your own MyModStorageComponent More...
 
bool ShowOnHUD [get]
 
- Properties inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock
Sandbox.Common.ObjectBuilders.Definitions.SerializableDefinitionId BlockDefinition [get]
 
bool CheckConnectionAllowed [get]
 
IMyCubeGrid CubeGrid [get]
 
String DefinitionDisplayNameText [get]
 
float DisassembleRatio [get]
 
String DisplayNameText [get]
 
bool IsBeingHacked [get]
 
bool IsFunctional [get]
 
bool IsWorking [get]
 
VRageMath.Vector3I Max [get]
 
VRageMath.Vector3I Min [get]
 
int NumberInGrid [get]
 
VRageMath.MyBlockOrientation Orientation [get]
 
long OwnerId [get]
 
VRageMath.Vector3I Position [get]
 

Additional Inherited Members

- Events inherited from Sandbox.ModAPI.Ingame.IMyFunctionalBlock
Action< IMyTerminalBlockEnabledChanged
 
- Events inherited from Sandbox.ModAPI.Ingame.IMyTerminalBlock
Action< IMyTerminalBlockCustomNameChanged
 
Action< IMyTerminalBlockOwnershipChanged
 
Action< IMyTerminalBlockPropertiesChanged
 
Action< IMyTerminalBlockShowOnHUDChanged
 
Action< IMyTerminalBlockVisibilityChanged
 
- Events inherited from Sandbox.ModAPI.Ingame.IMyCubeBlock
Action< IMyCubeBlockIsWorkingChanged
 

Detailed Description

Definition at line 8 of file IMyProjector.cs.

Member Function Documentation

bool Sandbox.ModAPI.Ingame.IMyProjector.LoadBlueprint ( string  name)
bool Sandbox.ModAPI.Ingame.IMyProjector.LoadRandomBlueprint ( string  searchPattern)
void Sandbox.ModAPI.Ingame.IMyProjector.UpdateOffsetAndRotation ( )

Call this after setting ProjectionOffset and ProjectionRotation to update the projection

Property Documentation

int Sandbox.ModAPI.Ingame.IMyProjector.BuildableBlocksCount
get

Count of blocks which can be welded now

Definition at line 56 of file IMyProjector.cs.

bool Sandbox.ModAPI.Ingame.IMyProjector.IsProjecting
get

Checks if there is an active projection

Definition at line 31 of file IMyProjector.cs.

Vector3I Sandbox.ModAPI.Ingame.IMyProjector.ProjectionOffset
getset

Definition at line 58 of file IMyProjector.cs.

int Sandbox.ModAPI.Ingame.IMyProjector.ProjectionOffsetX
get

Definition at line 11 of file IMyProjector.cs.

int Sandbox.ModAPI.Ingame.IMyProjector.ProjectionOffsetY
get

Definition at line 14 of file IMyProjector.cs.

int Sandbox.ModAPI.Ingame.IMyProjector.ProjectionOffsetZ
get

Definition at line 17 of file IMyProjector.cs.

Vector3I Sandbox.ModAPI.Ingame.IMyProjector.ProjectionRotation
getset

These values are not in degrees. 1 = 90 degrees, 2 = 180 degrees

Definition at line 63 of file IMyProjector.cs.

int Sandbox.ModAPI.Ingame.IMyProjector.ProjectionRotX
get

Definition at line 20 of file IMyProjector.cs.

int Sandbox.ModAPI.Ingame.IMyProjector.ProjectionRotY
get

Definition at line 23 of file IMyProjector.cs.

int Sandbox.ModAPI.Ingame.IMyProjector.ProjectionRotZ
get

Definition at line 26 of file IMyProjector.cs.

int Sandbox.ModAPI.Ingame.IMyProjector.RemainingArmorBlocks
get

Number of armor blocks left to be welded

Definition at line 51 of file IMyProjector.cs.

int Sandbox.ModAPI.Ingame.IMyProjector.RemainingBlocks
get

Number of blocks left to be welded

Definition at line 41 of file IMyProjector.cs.

Dictionary<MyDefinitionBase, int> Sandbox.ModAPI.Ingame.IMyProjector.RemainingBlocksPerType
get

A comprehensive list of blocks left to be welded

Definition at line 46 of file IMyProjector.cs.

int Sandbox.ModAPI.Ingame.IMyProjector.TotalBlocks
get

Total number of blocks in the projection

Definition at line 36 of file IMyProjector.cs.


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