Show / Hide Table of Contents

Class MyCubeBlockDefinition.MountPoint

Inheritance
System.Object
MyCubeBlockDefinition.MountPoint
Namespace: Sandbox.Definitions
Assembly: Sandbox.Game.dll
Syntax
public sealed class MountPoint : ValueType

Fields

AllowCouplingWithItself

If CouplingTag is used, setting to true would allow connection to the same mount (i.e. to the block of the same type).

Declaration
public bool AllowCouplingWithItself
Field Value
Type Description
System.Boolean

CouplingTag

Tag to enforce coupling constraints. If at least one of mounts from the pair has non-null tag, then mount A tag must contain mount B as a substring, or vice versa. This is intended to make mounts allowing attachment to only specific mount.

Declaration
public string CouplingTag
Field Value
Type Description
System.String

Default

Mark mount point as default for auto rotate.

Declaration
public bool Default
Field Value
Type Description
System.Boolean

Enabled

Disabled mount points always return false when checking for connectivity, but still can be used for AirTightness

Declaration
public bool Enabled
Field Value
Type Description
System.Boolean

End

Declaration
public Vector3 End
Field Value
Type Description
Vector3

ExclusionMask

Excluded properties when attaching to this mount point. Bitwise & with other mount points properties mask must result in 0 to allow attaching.

Declaration
public byte ExclusionMask
Field Value
Type Description
System.Byte

Normal

Declaration
public Vector3I Normal
Field Value
Type Description
Vector3I

PressurizedWhenOpen

Declaration
public bool PressurizedWhenOpen
Field Value
Type Description
System.Boolean

PropertiesMask

Properties when attaching this mount point. Bitwise & with other mount points exclusion mask must result in 0 to allow attaching.

Declaration
public byte PropertiesMask
Field Value
Type Description
System.Byte

Start

Declaration
public Vector3 Start
Field Value
Type Description
Vector3

Methods

GetObjectBuilder(Vector3I)

Declaration
public MyObjectBuilder_CubeBlockDefinition.MountPoint GetObjectBuilder(Vector3I cubeSize)
Parameters
Type Name Description
Vector3I cubeSize
Returns
Type Description
MyObjectBuilder_CubeBlockDefinition.MountPoint
☀
☾
In This Article
  • Fields
    • AllowCouplingWithItself
    • CouplingTag
    • Default
    • Enabled
    • End
    • ExclusionMask
    • Normal
    • PressurizedWhenOpen
    • PropertiesMask
    • Start
  • Methods
    • GetObjectBuilder(Vector3I)
Back to top
Generated by DocFX
☀
☾