Show / Hide Table of Contents

Class MyCameraBlock

Inheritance
System.Object
MyEntity
MyCubeBlock
Sandbox.Game.Entities.Cube.MySyncedBlock
Sandbox.Game.Entities.Cube.MyTerminalBlock
Sandbox.Game.Entities.Cube.MyFunctionalBlock
MyCameraBlock
Implements
IMyComponentOwner<MyIDModule>
IMyUpgradableBlock
IMyUpgradableBlock
IMyTextSurfaceProvider
IMyMultiTextPanelComponentOwner
IMyCameraBlock
IMyCameraController
IMyFunctionalBlock
IMyTerminalBlock
IMyCubeBlock
IMyEntity
IMyCameraBlock
IMyFunctionalBlock
IMyTerminalBlock
IMyCubeBlock
IMyEntity
Inherited Members
MyCubeBlock.MAX_CUSTOM_NAME_LENGTH
MyCubeBlock.DUMMY_SUBBLOCK_ID
MyCubeBlock.m_soundEmitter
MyCubeBlock.m_emissiveNames
MyCubeBlock.CurrentAttachedUpgradeModules
MyCubeBlock.IsBeingRemoved
MyCubeBlock.m_activeEffects
MyCubeBlock.SlimBlock
MyCubeBlock.IsSilenced
MyCubeBlock.SilenceInChange
MyCubeBlock.UsedUpdateEveryFrame
MyCubeBlock.HandleEmissiveStateChange
MyCubeBlock.InitSkinUpdateHandled
MyCubeBlock.SubBlocks
MyCubeBlock.m_forceBlockDestructible
MyCubeBlock.GetOwnerFactionTag()
MyCubeBlock.GetUserRelationToOwner(Int64, MyRelationsBetweenPlayerAndBlock)
MyCubeBlock.GetPlayerRelationToOwner()
MyCubeBlock.FriendlyWithBlock(MyCubeBlock)
MyCubeBlock.UpdateIsWorking()
MyCubeBlock.CanContinueBuild()
MyCubeBlock.GetInteractiveObject(UInt32)
MyCubeBlock.ReleaseInventory(MyInventory, Boolean)
MyCubeBlock.OnConstraintAdded(GridLinkTypeEnum, IMyEntity)
MyCubeBlock.OnConstraintRemoved(GridLinkTypeEnum, IMyEntity)
MyCubeBlock.InitComponents()
MyCubeBlock.Init()
MyCubeBlock.HasUnparentedSubpart()
MyCubeBlock.GetLocalMatrix(Matrix)
MyCubeBlock.CalcLocalMatrix(Matrix, String)
MyCubeBlock.Components_ComponentAdded(Type, IMyEntityComponentBase)
MyCubeBlock.Components_ComponentRemoved(Type, IMyEntityComponentBase)
MyCubeBlock.GetObjectBuilder(Boolean)
MyCubeBlock.OnRemovedFromScene(Object)
MyCubeBlock.ConnectionAllowed(Vector3I, Vector3I, MyCubeBlockDefinition)
MyCubeBlock.ConnectionAllowed(Vector3I, Vector3I, Vector3I, MyCubeBlockDefinition)
MyCubeBlock.WorldPositionChanged(Object)
MyCubeBlock.Closing()
MyCubeBlock.SetEmissiveStateDisabled()
MyCubeBlock.SetEmissiveStateDamaged()
MyCubeBlock.CheckEmissiveState(Boolean)
MyCubeBlock.SetEmissiveState(MyStringHash, UInt32, String)
MyCubeBlock.UpdateEmissiveParts(UInt32, Single, Color, Color)
MyCubeBlock.GetDefaultEmissiveParts(Byte)
MyCubeBlock.UpdateSkin(Boolean)
MyCubeBlock.UpdateVisual()
MyCubeBlock.UpdateOnceBeforeFrame()
MyCubeBlock.UpdateBeforeSimulation10()
MyCubeBlock.UpdateBeforeSimulation()
MyCubeBlock.OnBuildSuccess(Int64, Boolean)
MyCubeBlock.OnRemovedByCubeBuilder()
MyCubeBlock.OnRegisteredToGridSystems()
MyCubeBlock.OnUnregisteredFromGridSystems()
MyCubeBlock.ContactPointCallback(MyGridContactInfo)
MyCubeBlock.OnDestroy()
MyCubeBlock.OnModelChange()
MyCubeBlock.CalculateCurrentModel(Matrix)
MyCubeBlock.ChangeBlockOwnerRequest(Int64, MyOwnershipShareModeEnum)
MyCubeBlock.SetEffect(String, Boolean)
MyCubeBlock.SetEffect(String, Single, Boolean, Boolean, Boolean)
MyCubeBlock.RemoveEffect(String, Int32)
MyCubeBlock.SetDamageEffectDelayed(Boolean)
MyCubeBlock.SetDamageEffect(Boolean)
MyCubeBlock.StopDamageEffect(Boolean)
MyCubeBlock.ChangeOwner(Int64, MyOwnershipShareModeEnum)
MyCubeBlock.OnOwnershipChanged()
MyCubeBlock.IMyComponentOwner<MyIDModule>.GetComponent(MyIDModule)
MyCubeBlock.OnCubeGridChanged(MyCubeGrid)
MyCubeBlock.OnTeleport()
MyCubeBlock.AllSubBlocksInitialized()
MyCubeBlock.AddSubBlock(String, MySlimBlock)
MyCubeBlock.SubBlocksInitialized(Boolean)
MyCubeBlock.OnSubBlockClosing(MySlimBlock)
MyCubeBlock.RemoveSubBlock(String, Boolean)
MyCubeBlock.GetBlockGridOffset(MyCubeBlockDefinition)
MyCubeBlock.GetSubBlockDataFromDummy(MyCubeBlockDefinition, String, MyModelDummy, Boolean, MyCubeBlockDefinition, MatrixD, Vector3)
MyCubeBlock.GetMass()
MyCubeBlock.GetGeometryLocalBox()
MyCubeBlock.GetSubBlocks()
MyCubeBlock.TryGetSubBlock(String, MySlimBlock)
MyCubeBlock.GetComponent()
MyCubeBlock.AddUpgradeValue(String, Single)
MyCubeBlock.CommitUpgradeValues()
MyCubeBlock.CreateRenderer(MyPersistentEntityFlags2, Vector3, Object)
MyCubeBlock.GetFractureComponent()
MyCubeBlock.RefreshModels(String, String)
MyCubeBlock.OnInventoryComponentAdded(MyInventoryBase)
MyCubeBlock.OnInventoryComponentRemoved(MyInventoryBase)
MyCubeBlock.GetIntersectionWithLine(LineD, Nullable<MyIntersectionResultLineTriangleEx>, IntersectionFlags)
MyCubeBlock.DisableUpdates()
MyCubeBlock.ReceivedDamage(Single, MyStringHash, Int64, Int64, Boolean, Nullable<MyStringHash>)
MyCubeBlock.Init(MyObjectBuilder_CubeBlock, IMyCubeGrid)
MyCubeBlock.IMyCubeBlock.CalcLocalMatrix(Matrix, String)
MyCubeBlock.IMyCubeBlock.CalculateCurrentModel(Matrix)
MyCubeBlock.IMyCubeBlock.GetObjectBuilderCubeBlock(Boolean)
MyCubeBlock.IMyCubeBlock.GetPlayerRelationToOwner()
MyCubeBlock.IMyCubeBlock.GetUserRelationToOwner(Int64, MyRelationsBetweenPlayerAndBlock)
MyCubeBlock.IMyCubeBlock.Init()
MyCubeBlock.IMyCubeBlock.Init(MyObjectBuilder_CubeBlock, IMyCubeGrid)
MyCubeBlock.IMyCubeBlock.OnBuildSuccess(Int64)
MyCubeBlock.IMyCubeBlock.OnBuildSuccess(Int64, Boolean)
MyCubeBlock.IMyCubeBlock.OnDestroy()
MyCubeBlock.IMyCubeBlock.OnModelChange()
MyCubeBlock.IMyCubeBlock.OnRegisteredToGridSystems()
MyCubeBlock.IMyCubeBlock.OnRemovedByCubeBuilder()
MyCubeBlock.IMyCubeBlock.OnUnregisteredFromGridSystems()
MyCubeBlock.IMyCubeBlock.RaycastDetectors(Vector3D, Vector3D)
MyCubeBlock.IMyCubeBlock.ReloadDetectors(Boolean)
MyCubeBlock.IMyCubeBlock.UpdateIsWorking()
MyCubeBlock.IMyCubeBlock.UpdateVisual()
MyCubeBlock.IMyCubeBlock.SetDamageEffect(Boolean)
MyCubeBlock.IMyUpgradableBlock.GetUpgrades(Dictionary<String, Single>)
MyCubeBlock.IMyCubeBlock.SetEffect(String, Boolean)
MyCubeBlock.IMyCubeBlock.SetEffect(String, Single, Boolean, Boolean, Boolean)
MyCubeBlock.IMyCubeBlock.RemoveEffect(String, Int32)
MyCubeBlock.IsBeingHacked
MyCubeBlock.UsesEmissivePreset
MyCubeBlock.HighlightMode
MyCubeBlock.Physics
MyCubeBlock.OwnerId
MyCubeBlock.BuiltBy
MyCubeBlock.ResourceSink
MyCubeBlock.Min
MyCubeBlock.Max
MyCubeBlock.Orientation
MyCubeBlock.Position
MyCubeBlock.CubeGrid
MyCubeBlock.UseObjectsComponent
MyCubeBlock.CheckConnectionAllowed
MyCubeBlock.NumberInGrid
MyCubeBlock.IsFunctional
MyCubeBlock.IsBuilt
MyCubeBlock.DisassembleRatio
MyCubeBlock.IsWorking
MyCubeBlock.IDModule
MyCubeBlock.IsSubBlock
MyCubeBlock.SubBlockName
MyCubeBlock.OwnerBlock
MyCubeBlock.DefinitionDisplayNameText
MyCubeBlock.ForceBlockDestructible
MyCubeBlock.HasDamageEffect
MyCubeBlock.UpgradeValues
MyCubeBlock.IMyCubeBlock.BlockDefinition
MyCubeBlock.IMyCubeBlock.CubeGrid
MyCubeBlock.IMyCubeBlock.CubeGrid
MyCubeBlock.IMyCubeBlock.CheckConnectionAllowed
MyCubeBlock.IMyCubeBlock.Mass
MyCubeBlock.IMyCubeBlock.SlimBlock
MyCubeBlock.IMyUpgradableBlock.UpgradeCount
MyCubeBlock.IMyCubeBlock.ResourceSink
MyCubeBlock.CheckConnectionChanged
MyCubeBlock.IsWorkingChanged
MyCubeBlock.GetEmissiveStateHashFromComponent
MyCubeBlock.CanContinueBuildCheck
MyCubeBlock.OnUpdateBeforenextFrame
MyCubeBlock.OnUpgradeValuesChanged
MyCubeBlock.IMyCubeBlock.IsWorkingChanged
MyCubeBlock.CubeGridChanged
MyEntity.m_contactPoint
MyEntity.DefinitionId
MyEntity.DebugAsyncLoading
MyEntity.m_hudParams
MyEntity.m_positionResetFromServer
MyEntity.m_modelCollision
MyEntity.GamePruningProxyId
MyEntity.TopMostPruningProxyId
MyEntity.StaticForPruningStructure
MyEntity.TargetPruningProxyId
MyEntity.IsPreviewChanged
MyEntity.ReadyForReplicationAction
MyEntity.PropagateSubpartRotationThroughHieerarchy
MyEntity.ReplicationStarted
MyEntity.ReplicationEnded
MyEntity.OnEntityCloseRequest
MyEntity.InstantiateSubpartOverrideFunc
MyEntity.AddToGamePruningStructureExtCallBack
MyEntity.RemoveFromGamePruningStructureExtCallBack
MyEntity.UpdateGamePruningStructureExtCallBack
MyEntity.MyEntityFactoryCreateObjectBuilderExtCallback
MyEntity.CreateDefaultSyncEntityExtCallback
MyEntity.MyWeldingGroupsAddNodeExtCallback
MyEntity.MyWeldingGroupsRemoveNodeExtCallback
MyEntity.MyWeldingGroupsGetGroupNodesExtCallback
MyEntity.MyWeldingGroupsGroupExistsExtCallback
MyEntity.MyProceduralWorldGeneratorTrackEntityExtCallback
MyEntity.CreateStandardRenderComponentsExtCallback
MyEntity.InitComponentsExtCallback
MyEntity.MyEntitiesCreateFromObjectBuilderExtCallback
MyEntity.DebugDraw()
MyEntity.DebugDrawInvalidTriangles()
MyEntity.AddDebugRenderComponent(MyDebugRenderComponentBase)
MyEntity.ContainsDebugRenderComponent(Type)
MyEntity.TryGetDebugRenderComponent<T>(T)
MyEntity.RemoveDebugRenderComponent(Type)
MyEntity.RemoveDebugRenderComponent(MyDebugRenderComponentBase)
MyEntity.ClearDebugRenderComponents()
MyEntity.GetTopMostParent(Type)
MyEntity.GetHudParams(Boolean)
MyEntity.CanBeAddedToRender()
MyEntity.InitComponentsForTesting()
MyEntity.OnCreateSync()
MyEntity.CreateSync()
MyEntity.GetSubpart(String)
MyEntity.TryGetSubpart(String, MyEntitySubpart)
MyEntity.Simulate()
MyEntity.UpdatingStopped()
MyEntity.UpdateBeforeSimulation100()
MyEntity.UpdateAfterSimulation100()
MyEntity.GetFriendlyName()
MyEntity.Teleport(MatrixD, Object, Boolean)
MyEntity.DebugDrawPhysics()
MyEntity.GetIntersectionWithLine(LineD, Nullable<Vector3D>, Boolean, IntersectionFlags)
MyEntity.GetIntersectionWithLineAndBoundingSphere(LineD, Single)
MyEntity.GetIntersectionWithSphere(BoundingSphereD)
MyEntity.GetIntersectionWithAABB(BoundingBoxD)
MyEntity.GetTrianglesIntersectingSphere(BoundingSphere, Nullable<Vector3>, Nullable<Single>, List<MyTriangle_Vertex_Normals>, Int32)
MyEntity.DoOverlapSphereTest(Single, Vector3D)
MyEntity.GetSmallestDistanceBetweenCameraAndBoundingSphere()
MyEntity.GetLargestDistanceBetweenCameraAndBoundingSphere()
MyEntity.GetDistanceBetweenCameraAndBoundingSphere()
MyEntity.GetDistanceBetweenPlayerPositionAndBoundingSphere()
MyEntity.GetDistanceBetweenCameraAndPosition()
MyEntity.GetBaseEntity()
MyEntity.OnReplicationStarted()
MyEntity.OnReplicationEnded()
MyEntity.SetFadeOut(Boolean)
MyEntity.AddToGamePruningStructure()
MyEntity.RemoveFromGamePruningStructure()
MyEntity.UpdateGamePruningStructure()
MyEntity.RaisePhysicsChanged()
MyEntity.Init(MyObjectBuilder_EntityBase)
MyEntity.BeforeGameLogicInit()
MyEntity.ClampToWorld()
MyEntity.Init(StringBuilder, String, MyEntity, Nullable<Single>, String)
MyEntity.Delete()
MyEntity.BeforeDelete()
MyEntity.Close()
MyEntity.BeforeSave()
MyEntity.PrepareForDraw()
MyEntity.BeforePaste()
MyEntity.AfterPaste()
MyEntity.SetEmissiveParts(String, Color, Single)
MyEntity.SetEmissivePartsForSubparts(String, Color, Single)
MyEntity.UpdateNamedEmissiveParts(UInt32, String, Color, Single)
MyEntity.InstantiateSubpart(MyModelDummy, MyEntitySubpart.Data)
MyEntity.GetCubeBlockParent(MyEntity)
MyEntity.ToString()
MyEntity.GetInventoryBase(Int32)
MyEntity.GetInventoryBase()
MyEntity.SerializeControls(BitStream)
MyEntity.DeserializeControls(BitStream, Boolean)
MyEntity.ApplyLastControls()
MyEntity.ResetControls()
MyEntity.Pin()
MyEntity.Unpin()
MyEntity.UpdateSoundContactPoint(Int64, Vector3, Vector3, Vector3, Single)
MyEntity.IMyEntity.GetTopMostParent(Type)
MyEntity.IMyEntity.GetChildren(List<IMyEntity>, Func<IMyEntity, Boolean>)
MyEntity.IMyEntity.GetFriendlyName()
MyEntity.IMyEntity.Close()
MyEntity.IMyEntity.Delete()
MyEntity.IMyEntity.GetDiffuseColor()
MyEntity.IMyEntity.GetDistanceBetweenCameraAndBoundingSphere()
MyEntity.IMyEntity.GetDistanceBetweenCameraAndPosition()
MyEntity.IMyEntity.GetLargestDistanceBetweenCameraAndBoundingSphere()
MyEntity.IMyEntity.GetSmallestDistanceBetweenCameraAndBoundingSphere()
MyEntity.IMyEntity.GetIntersectionWithLineAndBoundingSphere(LineD, Single)
MyEntity.IMyEntity.GetIntersectionWithSphere(BoundingSphereD)
MyEntity.IMyEntity.GetInventory()
MyEntity.IMyEntity.GetInventory(Int32)
MyEntity.IMyEntity.GetTrianglesIntersectingSphere(BoundingSphere, Nullable<Vector3>, Nullable<Single>, List<MyTriangle_Vertex_Normals>, Int32)
MyEntity.IMyEntity.DoOverlapSphereTest(Single, Vector3D)
MyEntity.IMyEntity.GetObjectBuilder(Boolean)
MyEntity.IMyEntity.IsVisible()
MyEntity.IMyEntity.GetViewMatrix()
MyEntity.IMyEntity.GetWorldMatrixNormalizedInv()
MyEntity.IMyEntity.SetLocalMatrix(Matrix, Object)
MyEntity.IMyEntity.SetWorldMatrix(MatrixD, Object)
MyEntity.IMyEntity.SetPosition(Vector3D)
MyEntity.IMyEntity.EnableColorMaskForSubparts(Boolean)
MyEntity.IMyEntity.SetColorMaskForSubparts(Vector3)
MyEntity.IMyEntity.SetTextureChangesForSubparts(Dictionary<String, MyTextureChange>)
MyEntity.IMyEntity.SetTextureChangesForSubparts(Dictionary<MyStringId, MyTextureChange>)
MyEntity.IMyEntity.SetEmissiveParts(String, Color, Single)
MyEntity.IMyEntity.SetEmissivePartsForSubparts(String, Color, Single)
MyEntity.IMyEntity.GetInventory()
MyEntity.IMyEntity.GetInventory(Int32)
MyEntity.IMyEntity.GetPosition()
MyEntity.Components
MyEntity.Name
MyEntity.PositionComp
MyEntity.Render
MyEntity.GameLogic
MyEntity.EntityId
MyEntity.SyncObject
MyEntity.Storage
MyEntity.EntityStorage
MyEntity.Closed
MyEntity.MarkedForClose
MyEntity.MaxGlassDistSq
MyEntity.Save
MyEntity.IsPreview
MyEntity.IsReadyForReplication
MyEntity.NeedsUpdate
MyEntity.WorldMatrix
MyEntity.Parent
MyEntity.Hierarchy
MyEntity.IMyEntity.Hierarchy
MyEntity.IMyEntity.Physics
MyEntity.InvalidateOnMove
MyEntity.SyncFlag
MyEntity.NeedsWorldMatrix
MyEntity.InScene
MyEntity.IsVolumetric
MyEntity.LocationForHudMarker
MyEntity.Model
MyEntity.ModelCollision
MyEntity.DisplayName
MyEntity.DebugName
MyEntity.Subparts
MyEntity.IsCCDForProjectiles
MyEntity.Pinned
MyEntity.UpdateDuration
MyEntity.IsReplicated
MyEntity.InventoryCount
MyEntity.HasInventory
MyEntity.DisplayNameText
MyEntity.LastSnapshotFlags
MyEntity.Flags
MyEntity.IMyEntity.Parent
MyEntity.IMyEntity.Name
MyEntity.IMyEntity.DebugAsyncLoading
MyEntity.IMyEntity.DisplayName
MyEntity.IMyEntity.MarkedForClose
MyEntity.IMyEntity.Closed
MyEntity.IMyEntity.Model
MyEntity.IMyEntity.GameLogic
MyEntity.IMyEntity.NeedsUpdate
MyEntity.IMyEntity.NearFlag
MyEntity.IMyEntity.CastShadows
MyEntity.IMyEntity.FastCastShadowResolve
MyEntity.IMyEntity.NeedsResolveCastShadow
MyEntity.IMyEntity.MaxGlassDistSq
MyEntity.IMyEntity.NeedsDraw
MyEntity.IMyEntity.NeedsDrawFromParent
MyEntity.IMyEntity.Transparent
MyEntity.IMyEntity.ShadowBoxLod
MyEntity.IMyEntity.SkipIfTooSmall
MyEntity.IMyEntity.Storage
MyEntity.IMyEntity.Visible
MyEntity.IMyEntity.Save
MyEntity.IMyEntity.PersistentFlags
MyEntity.IMyEntity.InScene
MyEntity.IMyEntity.InvalidateOnMove
MyEntity.IMyEntity.IsCCDForProjectiles
MyEntity.IMyEntity.IsVolumetric
MyEntity.IMyEntity.LocalAABB
MyEntity.IMyEntity.LocalAABBHr
MyEntity.IMyEntity.LocalMatrix
MyEntity.IMyEntity.LocalVolume
MyEntity.IMyEntity.LocalVolumeOffset
MyEntity.IMyEntity.LocationForHudMarker
MyEntity.IMyEntity.Synchronized
MyEntity.IMyEntity.WorldMatrix
MyEntity.IMyEntity.WorldMatrixInvScaled
MyEntity.IMyEntity.WorldMatrixNormalizedInv
MyEntity.IMyEntity.ModelCollision
MyEntity.IMyEntity.HasInventory
MyEntity.IMyEntity.InventoryCount
MyEntity.IMyEntity.DisplayName
MyEntity.IMyEntity.Name
MyEntity.IMyEntity.WorldAABB
MyEntity.IMyEntity.WorldAABBHr
MyEntity.IMyEntity.WorldMatrix
MyEntity.IMyEntity.WorldVolume
MyEntity.IMyEntity.WorldVolumeHr
MyEntity.StopPhysicsActivation
MyEntity.OnMarkForClose
MyEntity.OnClose
MyEntity.OnClosing
MyEntity.OnModelRefresh
MyEntity.OnUpdateOnceBeforeNextFrame
MyEntity.OnDebugDraw
MyEntity.OnPhysicsChanged
MyEntity.OnPhysicsComponentChanged
MyEntity.AddedToScene
MyEntity.RemovedFromScene
MyEntity.OnTeleported
MyEntity.IMyEntity.OnClose
MyEntity.IMyEntity.OnClosing
MyEntity.IMyEntity.OnMarkForClose
MyEntity.IMyEntity.OnPhysicsChanged
Namespace: Sandbox.Game.Entities
Assembly: Sandbox.Game.dll
Syntax
[MyCubeBlockType]
[MyTerminalInterface]
public class MyCameraBlock : MyFunctionalBlock, IMyComponentOwner<MyIDModule>, IMyUpgradableBlock, IMyUpgradableBlock, IMyEventProxy, IMyEventOwner, IMySyncedEntity, IMyTieredUpdateBlock, IMyUpdateTimer, IMyTextSurfaceProvider, IMyMultiTextPanelComponentOwner, IMyTextPanelComponentOwner, IMyCameraBlock, IMyCameraController, IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity, IMyCameraBlock, IMyFunctionalBlock, IMyTerminalBlock, IMyCubeBlock, IMyEntity

Constructors

MyCameraBlock()

Declaration
public MyCameraBlock()

Fields

DUMMY_NAME_POSITION

Declaration
public const string DUMMY_NAME_POSITION = "camera"
Field Value
Type Description
System.String

ID_VIEW

Declaration
public const string ID_VIEW = "View"
Field Value
Type Description
System.String

m_activeViewers

Declaration
protected readonly Sync<int, SyncDirection.BothWays> m_activeViewers
Field Value
Type Description
VRage.Sync.Sync<System.Int32, VRage.Sync.SyncDirection.BothWays>

Properties

BlockDefinition

Declaration
public MyCameraBlockDefinition BlockDefinition { get; }
Property Value
Type Description
MyCameraBlockDefinition

EnableFirstPersonView

Declaration
public bool EnableFirstPersonView { get; set; }
Property Value
Type Description
System.Boolean

EnableRaycast

Declaration
public bool EnableRaycast { get; set; }
Property Value
Type Description
System.Boolean

Entity

Declaration
public MyEntity Entity { get; }
Property Value
Type Description
MyEntity

ForceFirstPersonCamera

Declaration
public bool ForceFirstPersonCamera { get; set; }
Property Value
Type Description
System.Boolean

IsActive

Declaration
public bool IsActive { get; }
Property Value
Type Description
System.Boolean

IsInFirstPersonView

Declaration
public bool IsInFirstPersonView { get; set; }
Property Value
Type Description
System.Boolean

Methods

CanUse()

Declaration
public bool CanUse()
Returns
Type Description
System.Boolean

ChangeZoomPrecise(Single)

Declaration
public void ChangeZoomPrecise(float deltaZoom)
Parameters
Type Name Description
System.Single deltaZoom

CheckAngleLimits(Vector3D)

Checks if the specified world direction relative to the camera is within the valid scanning range

Declaration
public bool CheckAngleLimits(Vector3D directionNormalized)
Parameters
Type Name Description
Vector3D directionNormalized
Returns
Type Description
System.Boolean

CheckIsWorking()

Declaration
protected override bool CheckIsWorking()
Returns
Type Description
System.Boolean
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.CheckIsWorking()

CreateTerminalControls()

Declaration
protected override void CreateTerminalControls()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.CreateTerminalControls()

GetObjectBuilderCubeBlock(Boolean)

Declaration
public override MyObjectBuilder_CubeBlock GetObjectBuilderCubeBlock(bool copy = false)
Parameters
Type Name Description
System.Boolean copy
Returns
Type Description
MyObjectBuilder_CubeBlock
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.GetObjectBuilderCubeBlock(System.Boolean)

GetOverridingFocusMatrix()

Declaration
public Nullable<MatrixD> GetOverridingFocusMatrix()
Returns
Type Description
System.Nullable<MatrixD>

GetViewMatrix()

Declaration
public override MatrixD GetViewMatrix()
Returns
Type Description
MatrixD
Overrides
MyEntity.GetViewMatrix()

Init(MyObjectBuilder_CubeBlock, MyCubeGrid)

Declaration
public override void Init(MyObjectBuilder_CubeBlock objectBuilder, MyCubeGrid cubeGrid)
Parameters
Type Name Description
MyObjectBuilder_CubeBlock objectBuilder
MyCubeGrid cubeGrid
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.Init(VRage.Game.MyObjectBuilder_CubeBlock, Sandbox.Game.Entities.MyCubeGrid)

OnActiveChanged(Boolean)

Declaration
public void OnActiveChanged(bool state)
Parameters
Type Name Description
System.Boolean state

OnAddedToScene(Object)

Declaration
public override void OnAddedToScene(object source)
Parameters
Type Name Description
System.Object source
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.OnAddedToScene(System.Object)

OnAssumeControl(IMyCameraController)

Declaration
public void OnAssumeControl(IMyCameraController previousCameraController)
Parameters
Type Name Description
IMyCameraController previousCameraController

OnEnabledChanged()

Declaration
protected override void OnEnabledChanged()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.OnEnabledChanged()

OnExitView()

Declaration
public void OnExitView()

OnReleaseControl(IMyCameraController)

Declaration
public void OnReleaseControl(IMyCameraController newCameraController)
Parameters
Type Name Description
IMyCameraController newCameraController

Raycast(Double, Vector3D)

Declaration
public MyDetectedEntityInfo Raycast(double distance, Vector3D direction)
Parameters
Type Name Description
System.Double distance
Vector3D direction
Returns
Type Description
MyDetectedEntityInfo

RequestSetView()

Declaration
public void RequestSetView()

Rotate(Vector2, Single)

Declaration
public void Rotate(Vector2 rotationIndicator, float rollIndicator)
Parameters
Type Name Description
Vector2 rotationIndicator
System.Single rollIndicator

RotateStopped()

Declaration
public void RotateStopped()

SetEmissiveStateWorking()

Declaration
public override bool SetEmissiveStateWorking()
Returns
Type Description
System.Boolean
Overrides
MyCubeBlock.SetEmissiveStateWorking()

SetView()

Declaration
public void SetView()

UpdateAfterSimulation()

Declaration
public override void UpdateAfterSimulation()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.UpdateAfterSimulation()

UpdateAfterSimulation10()

Declaration
public override void UpdateAfterSimulation10()
Overrides
Sandbox.Game.Entities.Cube.MyFunctionalBlock.UpdateAfterSimulation10()

UpdateDetailedInfo(StringBuilder)

Declaration
protected override void UpdateDetailedInfo(StringBuilder detailedInfo)
Parameters
Type Name Description
System.Text.StringBuilder detailedInfo
Overrides
Sandbox.Game.Entities.Cube.MyTerminalBlock.UpdateDetailedInfo(System.Text.StringBuilder)

Explicit Interface Implementations

IMyCameraBlock.IsActiveLocal

Declaration
bool IMyCameraBlock.IsActiveLocal { get; }
Returns
Type Description
System.Boolean

IMyCameraBlock.AvailableScanRange

Declaration
double IMyCameraBlock.AvailableScanRange { get; }
Returns
Type Description
System.Double

IMyCameraBlock.CanScan(Double)

Declaration
bool IMyCameraBlock.CanScan(double distance)
Parameters
Type Name Description
System.Double distance
Returns
Type Description
System.Boolean

IMyCameraBlock.CanScan(Double, Vector3D)

Declaration
bool IMyCameraBlock.CanScan(double distance, Vector3D direction)
Parameters
Type Name Description
System.Double distance
Vector3D direction
Returns
Type Description
System.Boolean

IMyCameraBlock.CanScan(Vector3D)

Declaration
bool IMyCameraBlock.CanScan(Vector3D target)
Parameters
Type Name Description
Vector3D target
Returns
Type Description
System.Boolean

IMyCameraBlock.EnableRaycast

Declaration
bool IMyCameraBlock.EnableRaycast { get; set; }
Returns
Type Description
System.Boolean

IMyCameraBlock.IsActive

Declaration
bool IMyCameraBlock.IsActive { get; }
Returns
Type Description
System.Boolean

IMyCameraBlock.Raycast(Double, Single, Single)

Declaration
MyDetectedEntityInfo IMyCameraBlock.Raycast(double distance, float pitch, float yaw)
Parameters
Type Name Description
System.Double distance
System.Single pitch
System.Single yaw
Returns
Type Description
MyDetectedEntityInfo

IMyCameraBlock.Raycast(Double, Vector3D)

Declaration
MyDetectedEntityInfo IMyCameraBlock.Raycast(double distance, Vector3D targetDirection)
Parameters
Type Name Description
System.Double distance
Vector3D targetDirection
Returns
Type Description
MyDetectedEntityInfo

IMyCameraBlock.Raycast(Vector3D)

Declaration
MyDetectedEntityInfo IMyCameraBlock.Raycast(Vector3D targetPos)
Parameters
Type Name Description
Vector3D targetPos
Returns
Type Description
MyDetectedEntityInfo

IMyCameraBlock.RaycastConeLimit

Declaration
float IMyCameraBlock.RaycastConeLimit { get; }
Returns
Type Description
System.Single

IMyCameraBlock.RaycastDistanceLimit

Declaration
double IMyCameraBlock.RaycastDistanceLimit { get; }
Returns
Type Description
System.Double

IMyCameraBlock.RaycastTimeMultiplier

Declaration
float IMyCameraBlock.RaycastTimeMultiplier { get; }
Returns
Type Description
System.Single

IMyCameraBlock.TimeUntilScan(Double)

Declaration
int IMyCameraBlock.TimeUntilScan(double distance)
Parameters
Type Name Description
System.Double distance
Returns
Type Description
System.Int32

IMyCameraController.AllowCubeBuilding

Declaration
bool IMyCameraController.AllowCubeBuilding { get; }
Returns
Type Description
System.Boolean

IMyCameraController.ControlCamera(MyCamera)

Declaration
void IMyCameraController.ControlCamera(MyCamera currentCamera)
Parameters
Type Name Description
VRage.Game.Utils.MyCamera currentCamera

IMyCameraController.ForceFirstPersonCamera

Declaration
bool IMyCameraController.ForceFirstPersonCamera { get; set; }
Returns
Type Description
System.Boolean

IMyCameraController.HandlePickUp()

Declaration
bool IMyCameraController.HandlePickUp()
Returns
Type Description
System.Boolean

IMyCameraController.HandleUse()

Declaration
bool IMyCameraController.HandleUse()
Returns
Type Description
System.Boolean

IMyCameraController.IsInFirstPersonView

Declaration
bool IMyCameraController.IsInFirstPersonView { get; set; }
Returns
Type Description
System.Boolean

IMyCameraController.OnAssumeControl(IMyCameraController)

Declaration
void IMyCameraController.OnAssumeControl(IMyCameraController previousCameraController)
Parameters
Type Name Description
IMyCameraController previousCameraController

IMyCameraController.OnReleaseControl(IMyCameraController)

Declaration
void IMyCameraController.OnReleaseControl(IMyCameraController newCameraController)
Parameters
Type Name Description
IMyCameraController newCameraController

IMyCameraController.Rotate(Vector2, Single)

Declaration
void IMyCameraController.Rotate(Vector2 rotationIndicator, float rollIndicator)
Parameters
Type Name Description
Vector2 rotationIndicator
System.Single rollIndicator

IMyCameraController.RotateStopped()

Declaration
void IMyCameraController.RotateStopped()

Implements

IMyComponentOwner<T>
IMyUpgradableBlock
IMyUpgradableBlock
IMyTextSurfaceProvider
IMyMultiTextPanelComponentOwner
IMyCameraBlock
IMyCameraController
IMyFunctionalBlock
IMyTerminalBlock
IMyCubeBlock
IMyEntity
IMyCameraBlock
IMyFunctionalBlock
IMyTerminalBlock
IMyCubeBlock
IMyEntity

Extension Methods

MyEntityInventoryOwnerExtensions.InventoryOwnerType(MyEntity)
MyEntityExtensions.GetPhysicsBody(MyEntity)
MyEntityExtensions.UpdateGamePruningStructure(MyEntity)
MyEntityExtensions.AddToGamePruningStructure(MyEntity)
MyEntityExtensions.RemoveFromGamePruningStructure(MyEntity)
MyEntityExtensions.EntityFactoryCreateObjectBuilder(MyEntity)
MyEntityExtensions.CreateDefaultSyncEntity(MyEntity)
MyEntityExtensions.AddNodeToWeldingGroups(MyEntity)
MyEntityExtensions.RemoveNodeFromWeldingGroups(MyEntity)
MyEntityExtensions.GetWeldingGroupNodes(MyEntity, List<MyEntity>)
MyEntityExtensions.WeldingGroupExists(MyEntity)
MyEntityExtensions.ProceduralWorldGeneratorTrackEntity(MyEntity)
MyEntityExtensions.TryGetInventory(MyEntity, out MyInventoryBase)
MyEntityExtensions.TryGetInventory(MyEntity, out MyInventory)
MyEntityExtensions.GetInventory(MyEntity, Int32)
MyEntityContainerEventExtensions.RaiseEntityEvent(MyEntity, MyStringHash, MyEntityContainerEventExtensions.EntityEventParams)
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾