🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
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.

latest
Source
npmnpm
Version
1.2.1
Version published
Weekly downloads
377
37600%
Maintainers
2
Weekly downloads
 
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