Exemple #1
0
 public static Offset <NodeInputFieldInfo> CreateNodeInputFieldInfo(FlatBufferBuilder builder,
                                                                    StringOffset fieldNameOffset     = default(StringOffset),
                                                                    int targetNodeId                 = 0,
                                                                    int targetPortId                 = 0,
                                                                    StringOffset valueTypeNameOffset = default(StringOffset),
                                                                    StringOffset valueStringOffset   = default(StringOffset))
 {
     builder.StartObject(5);
     NodeInputFieldInfo.AddValueString(builder, valueStringOffset);
     NodeInputFieldInfo.AddValueTypeName(builder, valueTypeNameOffset);
     NodeInputFieldInfo.AddTargetPortId(builder, targetPortId);
     NodeInputFieldInfo.AddTargetNodeId(builder, targetNodeId);
     NodeInputFieldInfo.AddFieldName(builder, fieldNameOffset);
     return(NodeInputFieldInfo.EndNodeInputFieldInfo(builder));
 }
Exemple #2
0
 public static NodeInputFieldInfo GetRootAsNodeInputFieldInfo(ByteBuffer _bb, NodeInputFieldInfo obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }