Пример #1
0
        public override MyObjectBuilder_CubeBlock GetObjectBuilderCubeBlock(bool copy = false)
        {
            MyObjectBuilder_CameraBlock objectBuilder = (MyObjectBuilder_CameraBlock)base.GetObjectBuilderCubeBlock(copy);

            objectBuilder.IsActive = IsActive;
            objectBuilder.Fov      = m_fov;

            return(objectBuilder);
        }
Пример #2
0
 public CameraBlockEntity(CubeGridEntity parent, MyObjectBuilder_CameraBlock definition, Object backingObject)
     : base(parent, definition, backingObject)
 {
     m_isActive = definition.IsActive;
 }