This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Sandbox.ModAPI.Ingame.IMyCameraBlock
Malware edited this page Dec 21, 2018
·
59 revisions
← Index
#IMyCameraBlock Interface
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Implements:
Sandbox.ModAPI.Ingame.IMyFunctionalBlockSandbox.ModAPI.Ingame.IMyTerminalBlockVRage.Game.ModAPI.Ingame.IMyCubeBlock-
VRage.Game.ModAPI.Ingame.IMyEntity###Properties |Member|Description| |---|---| |bool IsActive|| |double AvailableScanRange|| |bool EnableRaycast|| |float RaycastConeLimit|| |double RaycastDistanceLimit|| |MyEntityComponentContainer Components|Inherited fromIMyEntity| |long EntityId|Inherited fromIMyEntity| |string Name|Inherited fromIMyEntity| |string DisplayName|Inherited fromIMyEntity| |bool HasInventory|Inherited fromIMyEntity| |int InventoryCount|Inherited fromIMyEntity| |BoundingBoxD WorldAABB|Inherited fromIMyEntity| |BoundingBoxD WorldAABBHr|Inherited fromIMyEntity| |MatrixD WorldMatrix|Inherited fromIMyEntity| |BoundingSphereD WorldVolume|Inherited fromIMyEntity| |BoundingSphereD WorldVolumeHr|Inherited fromIMyEntity| |SerializableDefinitionId BlockDefinition|Inherited fromIMyCubeBlock| |bool CheckConnectionAllowed|Inherited fromIMyCubeBlock| |IMyCubeGrid CubeGrid|Inherited fromIMyCubeBlock| |string DefinitionDisplayNameText|Inherited fromIMyCubeBlock| |float DisassembleRatio|Inherited fromIMyCubeBlock| |string DisplayNameText|Inherited fromIMyCubeBlock| |bool IsBeingHacked|Inherited fromIMyCubeBlock| |bool IsFunctional|Inherited fromIMyCubeBlock| |bool IsWorking|Inherited fromIMyCubeBlock| |Vector3I Max|Inherited fromIMyCubeBlock| |float Mass|Inherited fromIMyCubeBlock| |Vector3I Min|Inherited fromIMyCubeBlock| |int NumberInGrid|Inherited fromIMyCubeBlock| |MyBlockOrientation Orientation|Inherited fromIMyCubeBlock| |long OwnerId|Inherited fromIMyCubeBlock| |Vector3I Position|Inherited fromIMyCubeBlock| |string CustomName|Inherited fromIMyTerminalBlock| |string CustomNameWithFaction|Inherited fromIMyTerminalBlock| |string DetailedInfo|Inherited fromIMyTerminalBlock| |string CustomInfo|Inherited fromIMyTerminalBlock| |string CustomData|Inherited fromIMyTerminalBlock| |bool ShowOnHUD|Inherited fromIMyTerminalBlock| |bool ShowInTerminal|Inherited fromIMyTerminalBlock| |bool ShowInToolbarConfig|Inherited fromIMyTerminalBlock| |bool ShowInInventory|Inherited fromIMyTerminalBlock| |bool Enabled|Inherited fromIMyFunctionalBlock| ###Methods |Member|Description| |---|---| |MyDetectedEntityInfo Raycast(double distance, float pitch, float yaw)|| |MyDetectedEntityInfo Raycast(Vector3D targetPos)|Does a raycast to the given point. Will return an empty struct if distance or angle are out of bounds.| |MyDetectedEntityInfo Raycast(double distance, Vector3D targetDirection)|| |bool CanScan(double distance)|Checks if the camera can scan the given distance.| |bool CanScan(double distance, Vector3D direction)|| |bool CanScan(Vector3D target)|Checks if the camera can scan to the given target| |int TimeUntilScan(double distance)|Returns the number of milliseconds until the camera can do a raycast of the given distance.| |IMyInventory GetInventory()|Inherited fromIMyEntity| |IMyInventory GetInventory(int index)|Search for inventory component with maching index.
Inherited fromIMyEntity| |Vector3D GetPosition()|Inherited fromIMyEntity| |string GetOwnerFactionTag()|Inherited fromIMyCubeBlock| |MyRelationsBetweenPlayerAndBlock GetPlayerRelationToOwner()|Inherited fromIMyCubeBlock| |MyRelationsBetweenPlayerAndBlock GetUserRelationToOwner(long playerId)|Inherited fromIMyCubeBlock| |void UpdateIsWorking()|Inherited fromIMyCubeBlock| |void UpdateVisual()|Inherited fromIMyCubeBlock| |bool HasLocalPlayerAccess()|Inherited fromIMyTerminalBlock| |bool HasPlayerAccess(long playerId)|Inherited fromIMyTerminalBlock| |void SetCustomName(string text)|Inherited fromIMyTerminalBlock| |void SetCustomName(StringBuilder text)|Inherited fromIMyTerminalBlock| |void GetActions(List<ITerminalAction> resultList, Func<ITerminalAction, bool> collect)|Inherited fromIMyTerminalBlock| |void SearchActionsOfName(string name, List<ITerminalAction> resultList, Func<ITerminalAction, bool> collect)|Inherited fromIMyTerminalBlock| |ITerminalAction GetActionWithName(string name)|Inherited fromIMyTerminalBlock| |ITerminalProperty GetProperty(string id)|Inherited fromIMyTerminalBlock| |void GetProperties(List<ITerminalProperty> resultList, Func<ITerminalProperty, bool> collect)|Inherited fromIMyTerminalBlock| |bool IsSameConstructAs(IMyTerminalBlock other)|Determines whether this block is mechanically connected to the other. This is any block connected with rotors or pistons or other mechanical devices, but not things like connectors. This will in most cases constitute your complete construct.
Be aware that using merge blocks combines grids into one, so this function will not filter out grids connected that way. Also be aware that detaching the heads of pistons and rotors will cause this connection to change.
Inherited fromIMyTerminalBlock| |void RequestEnable(bool enable)|Inherited fromIMyFunctionalBlock|
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!