I am currently working on a project where I need to generate a floor design view using the FloorMapV2 class. I have been exploring the provided code but have been unable to locate the function or method that takes an instance of FloorMapV2 and generates the corresponding view.

Could anyone please guide me on where to find this function or provide an example of how to use FloorMapV2 to generate a floor design view?

    WhiteMask Hi
    If I understand correctly you have an object of type FloorMapV2 and you want to create the building from it?
    If that's your question, here is more details:
    Inside the FloorMapReader class there is a function you can use called:

    DeserializeToScene(FloorMapV2 project)

    If you want a demo script you can check out "DemoFloorMapPlayMode.cs" this scripts show how to load a json file, and deserialize it in the scene.
    You can see it in action if you run the scene "FloorMap_PlayMode"

    And there is more information in the manual as well.

    hope that helps!

      5 days later

      Anthony

      Yes that is it thank you ,
      what about if I want to show 2d Draw what should I use ?

        WhiteMask the only 2D view I do in my plugin is just the camera is top down orthographic view. it gives the impression that it's 2D but it's actually 3D.

        If you want real 2D object that's something you will have to implement.

          Write a Reply...