Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@drecom/scene-graph-mediator-cli

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drecom/scene-graph-mediator-cli

This module converts static scene file to scene graph schema. Each of converters should know scene graph definitions schema of each engine/library, this module provides [CocosCreator](http://www.cocos2d-x.org/creator) exporter by default.

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

scene-graph-mediator-cli

This module converts static scene file to scene graph schema. Each of converters should know scene graph definitions schema of each engine/library, this module provides CocosCreator exporter by default.

The schema definition of scene graph is based on @drecom/scene-graph-schema .

Usage

$ sgmed
Usage:
  set environment variable as below, then execute lib/index.js with node
    required:
      RUNTIME          runtime identifier, currently supports only 'cc'
      ASSET_ROOT       root directory for assets
      SCENE_FILE       exporting scene file

    optional:
      DEST             destination directory;       default './scene-graph'
      ASSET_NAME_SPACE asset directory name;        default 'assets',
      ASSET_DEST       asset destination directory; default ${DEST}/${ASSET_NAME_SPACE}
      GRAPH_FILE_NAME  scene graph file name;       default 'graph.json',

  e.g;
    RUNTIME=cc ASSET_ROOT=path/to/asset SCENE_FILE=path/to/scene sgmed

FAQs

Package last updated on 13 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc